Searched refs:log10_pow2 (Results 1 – 4 of 4) sorted by relevance
52 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()
81 pub fn log10_pow2(e: i32) -> u32 /* or u32 -> u32 */ { in log10_pow2() function
70 let q = log10_pow2(e2); in f2d()
135 let q = log10_pow2(e2) - (e2 > 3) as u32; in d2d()