Skip to main content

add

Function add 

Source
pub fn add(builder: &CircuitBuilder, a: &BigUint, b: &BigUint) -> BigUint
Expand description

Add two equally-sized BigUintss with carry propagation.

See add_with_carry_out; this routine additionally asserts that no overflow happens.