** Check whether 'i' can be stored in an 'sC' operand. Equivalent to ** (0 <= int2sC(i) && int2sC(i) <= MAXARG_C) but without risk of ** overflows in the hidden addition inside 'int2sC'. */
| 677 | ** overflows in the hidden addition inside 'int2sC'. |
| 678 | */ |
| 679 | static int fitsC (lua_Integer i) { |
| 680 | return (l_castS2U(i) + OFFSET_sC <= cast_uint(MAXARG_C)); |
| 681 | } |
| 682 | |
| 683 | |
| 684 | /* |
no outgoing calls
no test coverage detected