MCPcopy Create free account
hub / github.com/defold/defold / math_fmod

Function math_fmod

engine/lua/src/lua/lmathlib.c:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static int math_fmod (lua_State *L) {
92 lua_pushnumber(L, fmod(luaL_checknumber(L, 1), luaL_checknumber(L, 2)));
93 return 1;
94}
95
96static int math_modf (lua_State *L) {
97 double ip;

Callers

nothing calls this directly

Calls 3

lua_pushnumberFunction · 0.85
fmodFunction · 0.85
luaL_checknumberFunction · 0.85

Tested by

no test coverage detected