mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
815d1bd7c9
In Lua 5.3+ the function `lua_isinteger` returns "false" for -0.0 numbers. In earlier Lua versions we should follow the same behavior to avoid losing the sign when converting to Integer. Close #618