Fill in some more mathematical functions.

This commit is contained in:
Bob Nystrom
2014-01-08 07:47:14 -08:00
parent 9645ddcb26
commit a8b51f6c8b
9 changed files with 72 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
IO.print(1.isNan) // expect: false
IO.print((0/0).isNan) // expect: true
// Infinity is not NaN.
IO.print((1/0).isNan) // expect: false