[math] Add tests for runtime errors

And fix "isinfinite" - it's called "isinf".
This commit is contained in:
Fabian Homborg
2018-03-07 18:13:26 +01:00
parent 9fc3d1215b
commit 2d08b5ee8a
3 changed files with 7 additions and 1 deletions

View File

@@ -31,3 +31,5 @@ not math 'sin()'
not math '2 + 2 4'
not math
not math -s 12
not math 2^650
not math 1 / 0