diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2016-06-20 12:19:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 12:19:33 +0100 |
commit | b92b597062aab6537c94eed79a42c82db841bf57 (patch) | |
tree | acf57586fdf22ca7c298430833f15136f77dcfc0 | |
parent | f76112fb01beed159f0697c6e7d27dcab7323d8d (diff) | |
parent | f9bb209c32f921fdc36d6c5043b3109036bef9d1 (diff) | |
download | Nim-b92b597062aab6537c94eed79a42c82db841bf57.tar.gz |
Merge pull request #4372 from abudden/maths-comment-correction
Corrected comment in maths library.
-rw-r--r-- | lib/pure/math.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index b4abf4dc8..c088e3d7d 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: "<math.h>".} proc round0(x: float64): float64 {.importc: "round", header: "<math.h>".} - ## 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: "<math.h>".} |