Skip to main content

div

Function div 

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

a ÷ b.

A quotient is generally non-terminating in binary, so unlike the other three operations this one must carry a sticky bit: the division’s remainder is exactly the information the native operator throws away.