MCPcopy Create free account
hub / github.com/DFHack/dfhack / math_ult

Function math_ult

depends/lua/src/lmathlib.c:172–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171
172static int math_ult (lua_State *L) {
173 lua_Integer a = luaL_checkinteger(L, 1);
174 lua_Integer b = luaL_checkinteger(L, 2);
175 lua_pushboolean(L, (lua_Unsigned)a < (lua_Unsigned)b);
176 return 1;
177}
178
179static int math_log (lua_State *L) {
180 lua_Number x = luaL_checknumber(L, 1);

Callers

nothing calls this directly

Calls 2

luaL_checkintegerFunction · 0.85
lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected