num_rational

Function ldexp

Source
pub(crate) fn ldexp(x: f64, exp: i32) -> f64
Expand description

Multiply x by 2 to the power of exp. Returns an accurate result even if 2^exp is not representable.