docs minor for math (#16407)
This commit is contained in:
parent
d435bfcb3b
commit
d00a412129
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue