diff options
Diffstat (limited to 'lib/pure/math.nim')
-rw-r--r-- | lib/pure/math.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim index bc804eb86..909aa11b7 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -383,8 +383,8 @@ when not defined(JS): # C ## .. code-block:: nim ## echo trunc(PI) # 3.0 - proc fmod*(x, y: float32): float32 {.deprecated, importc: "fmodf", header: "<math.h>".} - proc fmod*(x, y: float64): float64 {.deprecated, importc: "fmod", header: "<math.h>".} + proc fmod*(x, y: float32): float32 {.deprecated: "use mod instead", importc: "fmodf", header: "<math.h>".} + proc fmod*(x, y: float64): float64 {.deprecated: "use mod instead", importc: "fmod", header: "<math.h>".} ## Computes the remainder of `x` divided by `y` ## ## .. code-block:: nim |