Skip to main content

sub

Function sub 

Source
pub fn sub(a_bits: u64, b_bits: u64, f: Format, mode: Rounding) -> Rounded
Expand description

a - b — addition with the subtrahend’s sign flipped, which is exact and is how the hardware does it too.