Function libbgs::util::carrying_add
source · pub const fn carrying_add(a: u128, b: u128) -> (u128, u128)
Expand description
Returns the sum of a
and b
as two 128-bit words.
The first element of the tuple is the high word (guaranteed to be either 0 or 1) and the second
is the low word.