Home
last modified time | relevance | path

Searched refs:log10_pow2 (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/ryu/tests/
Dcommon_test.rs52 assert_eq!(0, log10_pow2(0)); in test_log10_pow2()
53 assert_eq!(0, log10_pow2(1)); in test_log10_pow2()
54 assert_eq!(0, log10_pow2(2)); in test_log10_pow2()
55 assert_eq!(0, log10_pow2(3)); in test_log10_pow2()
56 assert_eq!(1, log10_pow2(4)); in test_log10_pow2()
57 assert_eq!(496, log10_pow2(1650)); in test_log10_pow2()
/external/rust/crates/ryu/src/
Dcommon.rs81 pub fn log10_pow2(e: i32) -> u32 /* or u32 -> u32 */ { in log10_pow2() function
Df2s.rs70 let q = log10_pow2(e2); in f2d()
Dd2s.rs135 let q = log10_pow2(e2) - (e2 > 3) as u32; in d2d()