MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / Iadd

Function Iadd

third-party/lua-5.5.0/src/lmathlib.c:441–446  ·  view source on GitHub ↗

return i1 + i2 */

Source from the content-addressed store, hash-verified

439
440/* return i1 + i2 */
441static Rand64 Iadd (Rand64 i1, Rand64 i2) {
442 Rand64 result = packI(i1.h + i2.h, i1.l + i2.l);
443 if (trim32(result.l) < trim32(i1.l)) /* carry? */
444 result.h++;
445 return result;
446}
447
448/* return i * 5 */
449static Rand64 times5 (Rand64 i) {

Callers 2

times5Function · 0.70
times9Function · 0.70

Calls 1

packIFunction · 0.70

Tested by

no test coverage detected