From f9bb209c32f921fdc36d6c5043b3109036bef9d1 Mon Sep 17 00:00:00 2001 From: "A. S. Budden" Date: Mon, 20 Jun 2016 09:15:56 +0100 Subject: [PATCH] Corrected comment in maths library. --- lib/pure/math.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/math.nim b/lib/pure/math.nim index b4abf4dc8f..c088e3d7dc 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -228,7 +228,7 @@ when not defined(JS): else: proc round0(x: float32): float32 {.importc: "roundf", header: "".} proc round0(x: float64): float64 {.importc: "round", header: "".} - ## Converts a float to an int by rounding. Used internally by the round + ## Rounds a float to zero decimal places. Used internally by the round ## function when the specified number of places is 0. proc fmod*(x, y: float32): float32 {.importc: "fmodf", header: "".}