MCPcopy Create free account
hub / github.com/axmolengine/axmol / fitsBx

Function fitsBx

3rdparty/lua/plainlua/lcode.c:668–670  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

666** Check whether 'i' can be stored in an 'sBx' operand.
667*/
668static int fitsBx (lua_Integer i) {
669 return (-OFFSET_sBx <= i && i <= MAXARG_Bx - OFFSET_sBx);
670}
671
672
673void 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