fn split_pow2<T: Real>(d: T) -> (T, i64)
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.
d = f · 2^k
2^k
d
f64
f ≈ [1, 2)
to_f64