All, I am reading this code. static inline Int128 int128_add(Int128 a, Int128 b){ Int128 r = { a.lo + b.lo, a.hi + b.hi }; r.hi += (r.lo < a.lo) || (r.lo < b.lo); return r;} This assumes the result r will not exceed 128 bits?-- Wizard
All, I am reading this code. static inline Int128 int128_add(Int128 a, Int128 b){ Int128 r = { a.lo + b.lo, a.hi + b.hi }; r.hi += (r.lo < a.lo) || (r.lo < b.lo); return r;} This assumes the result r will not exceed 128 bits?-- Wizard