Function core::num::flt2dec::strategy::grisu::max_pow10_no_more_than [] [src]

pub fn max_pow10_no_more_than(x: u32) -> (u8, u32)
Unstable (flt2dec)

: internal routines only exposed for testing

Given x > 0, returns (k, 10^k) such that 10^k <= x < 10^(k+1).