MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / math_ult

Function math_ult

3rd/lua-5.4.3/src/lmathlib.c:162–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161
162static 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
169static int math_log (lua_State *L) {
170 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