James Roseborough
45e60c4b21
Improve argument type checking.
2008-07-23 23:52:20 +00:00
James Roseborough
81223754f2
Improve compatibility tests.
2008-07-22 23:52:02 +00:00
Ian Farmer
ef2c087c1b
Number fixes.
...
(1) Change how LDouble computes hashCode to match standard Lua.
(2) Change how toJavaString deals with NaN, infinity, and -0.
(3) Move 0 * -2 case to end of mathlib test case so that problematic tests
are towards the end.
2008-06-02 04:18:42 +00:00
James Roseborough
6569563ddc
Implement math.pow() for all platforms, add unit tests for basic math operations.
2007-12-11 19:47:38 +00:00
James Roseborough
1923d8e6a0
Add math.random() and math.randomseed()
2007-12-08 01:42:51 +00:00
Ian Farmer
f801e648bb
New math.cos and math.sqrt functions from Lua standard library, with new
...
math library test case. Also, character encoding of LuaCompat was changed
from something that Eclipse was not handling well to UTF-8.
2007-09-23 03:54:06 +00:00