MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / Iadd

Function Iadd

3rd/lua-5.4.3/src/lmathlib.c:402–407  ·  view source on GitHub ↗

return i1 + i2 */

Source from the content-addressed store, hash-verified

400
401/* return i1 + i2 */
402static Rand64 Iadd (Rand64 i1, Rand64 i2) {
403 Rand64 result = packI(i1.h + i2.h, i1.l + i2.l);
404 if (trim32(result.l) < trim32(i1.l)) /* carry? */
405 result.h++;
406 return result;
407}
408
409/* return i * 5 */
410static Rand64 times5 (Rand64 i) {

Callers 2

times5Function · 0.85
times9Function · 0.85

Calls 1

packIFunction · 0.85

Tested by

no test coverage detected