Searched refs:ceil_log2_pow5 (Results 1 – 4 of 4) sorted by relevance
42 assert_eq!(1, ceil_log2_pow5(0)); in test_ceil_log2_pow5()43 assert_eq!(3, ceil_log2_pow5(1)); in test_ceil_log2_pow5()44 assert_eq!(5, ceil_log2_pow5(2)); in test_ceil_log2_pow5()45 assert_eq!(7, ceil_log2_pow5(3)); in test_ceil_log2_pow5()46 assert_eq!(10, ceil_log2_pow5(4)); in test_ceil_log2_pow5()47 assert_eq!(8192, ceil_log2_pow5(3528)); in test_ceil_log2_pow5()
138 .wrapping_sub(ceil_log2_pow5(e10)) in s2d()159 .wrapping_sub(ceil_log2_pow5(-e10) as u32) in s2d()163 .wrapping_add(ceil_log2_pow5(-e10)) in s2d()
138 .wrapping_sub(ceil_log2_pow5(e10)) in s2f()154 .wrapping_sub(ceil_log2_pow5(-e10) as u32) in s2f()158 .wrapping_add(ceil_log2_pow5(-e10)) in s2f()
75 pub fn ceil_log2_pow5(e: i32) -> i32 /* or u32 -> u32 */ { in ceil_log2_pow5() function