Module sub

Module sub 

Source
Expand description

Subtraction operations for BigInt.

Implements constant-time subtraction using the sbb (subtract with borrow) algorithm as specified in the Arithmetic Algorithm Specification.

Functionsยง

sub
Subtract two BigInt values (a - b).
sub_assign
In-place subtraction for dynamic BigInt.
sub_magnitude
Subtract two BigInt magnitudes (a - b).