| 160 | |
| 161 | |
| 162 | static int math_ult (lua_State *L) { |
| 163 | lua_Integer a = luaL_checkinteger(L, 1); |
| 164 | lua_Integer b = luaL_checkinteger(L, 2); |
| 165 | lua_pushboolean(L, (lua_Unsigned)a < (lua_Unsigned)b); |
| 166 | return 1; |
| 167 | } |
| 168 | |
| 169 | static int math_log (lua_State *L) { |
| 170 | lua_Number x = luaL_checknumber(L, 1); |
nothing calls this directly
no test coverage detected