Closed sadSader closed 1 year ago
I added check for integer ranges in 5.1/5.2.
The AppVeyor tests (Windows) fail. This stuff is hard to get right, since it is platform specific, and probably LuaJIT also deals with these edge cases slightly different.
The safest way is probably to try and dynamically test the number ranges supported by the underlying Lua engine.
The AppVeyor tests (Windows) fail. This stuff is hard to get right, since it is platform specific, and probably LuaJIT also deals with these edge cases slightly different.
The safest way is probably to try and dynamically test the number ranges supported by the underlying Lua engine.
Unfortunatly string.format code is quite platform and version specific. I'll think how to fix it on next week
Made runtime calculating min/max integers. Disabled tests with large integers for Lua versions without integer support. string.format("%d") can't reliably format integers on such versions.
I don't see any way to portably format integers without manualy rewriting string.format for integers
thx!
Fix #455