Searched refs:checked_pow (Results 1 – 6 of 6) sorted by relevance
10 use num_traits::checked_pow;29 if let Some(x) = checked_pow(rt1, n as usize) { in bench()36 if let Some(x) = checked_pow(rt1, n as usize) { in bench()
3 use traits::checked_pow;232 match checked_pow(hi, n as usize) {266 let y = match checked_pow(x, n1 as usize) {
5 use num_traits::checked_pow;34 if let Some(x) = checked_pow(rt1, n as usize) { in check()41 if let Some(x) = checked_pow(rt1, n as usize) { in check()
86 base.checked_pow(exp_hi) in pow_scalar_base()
230 pub fn checked_pow<T: Clone + One + CheckedMul>(mut base: T, mut exp: usize) -> Option<T> { in checked_pow() function
49 pub use pow::{checked_pow, pow, Pow};