MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / fitsBx

Function fitsBx

lib/lua/src/lcode.c:667–669  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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