Skip to main content

split_pow2

Function split_pow2 

Source
fn split_pow2<T: Real>(d: T) -> (T, i64)
Expand description

d = f · 2^k with 2^k the power of two of d’s f64 value (exact scalings); f ≈ [1, 2) up to the rounding of to_f64, normalized by the caller.