Added simple "Math" library.

This commit is contained in:
Marco Lizza
2015-01-22 16:41:19 +01:00
parent 9453acf1e6
commit 6df15f209a
10 changed files with 206 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
IO.print(Math.ceil(2.3)) // expect: 3
IO.print(Math.ceil(3.8)) // expect: 4
IO.print(Math.ceil(-2.3)) // expect: -2
IO.print(Math.ceil(-3.8)) // expect: -3