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.
This commit is contained in:
4
src/test/res/mathlib.lua
Normal file
4
src/test/res/mathlib.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
print( math.sin( 0.0 ) )
|
||||
print( math.cos( math.pi ) )
|
||||
print( math.sqrt( 9.0 ) )
|
||||
print( math.modf( 5.25 ) )
|
||||
Reference in New Issue
Block a user