MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Iadd

Function Iadd

Dependencies/lua/src/lmathlib.c:421–426  ·  view source on GitHub ↗

return i1 + i2 */

Source from the content-addressed store, hash-verified

419
420/* return i1 + i2 */
421static Rand64 Iadd (Rand64 i1, Rand64 i2) {
422 Rand64 result = packI(i1.h + i2.h, i1.l + i2.l);
423 if (trim32(result.l) < trim32(i1.l)) /* carry? */
424 result.h++;
425 return result;
426}
427
428/* return i * 5 */
429static Rand64 times5 (Rand64 i) {

Callers 2

times5Function · 0.85
times9Function · 0.85

Calls 1

packIFunction · 0.85

Tested by

no test coverage detected