As of Lua 5.3, Lua has distinct type of integral numbers. So you should use `lua_pushinteger` instead of `lua_pushnumber` in `BigInt.cpp` for conversion.