diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2020-12-20 21:53:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 19:53:27 -0800 |
commit | d00a4121297fbb8824cffeecd7aab132a5769b11 (patch) | |
tree | 1c4dcd1b09576df19d7b6080f653910245133dbc /lib/pure | |
parent | d435bfcb3bf4882626686d53da238a38d4c753e1 (diff) | |
download | Nim-d00a4121297fbb8824cffeecd7aab132a5769b11.tar.gz |
docs minor for math (#16407)
Diffstat (limited to 'lib/pure')
-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 5f3261f1a..0e6ffe053 100644 --- a/lib/pure/math.nim +++ b/lib/pure/math.nim @@ -144,8 +144,8 @@ func isNaN*(x: SomeFloat): bool {.inline, since: (1,5,1).} = doAssert NaN.isNaN doAssert not Inf.isNaN doAssert isNaN(Inf - Inf) - doAssert not isNan(3.1415926) - doAssert not isNan(0'f32) + doAssert not isNaN(3.1415926) + doAssert not isNaN(0'f32) template fn: untyped = result = x != x when nimvm: fn() |