MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / fitsBx

Function fitsBx

extlibs/lua/src/lcode.c:654–656  ·  view source on GitHub ↗

** Check whether 'i' can be stored in an 'sBx' operand. */

Source from the content-addressed store, hash-verified

652** Check whether 'i' can be stored in an 'sBx' operand.
653*/
654static int fitsBx (lua_Integer i) {
655 return (-OFFSET_sBx <= i && i <= MAXARG_Bx - OFFSET_sBx);
656}
657
658
659void luaK_int (FuncState *fs, int reg, lua_Integer i) {

Callers 2

luaK_intFunction · 0.85
luaK_floatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected