Lines Matching refs:get_bit_count
110 pub fn get_bit_count(&self) -> u32 { in get_bit_count() method
115 let bits = max(Self::get_bit_count(op1), Self::get_bit_count(op2)) + 1; in add()
122 let bits = max(Self::get_bit_count(op1), Self::get_bit_count(op2)) + 1; in sub()
129 let mut res = Self::new(Self::get_bit_count(op)); in neg()
135 let bits = Self::get_bit_count(op1) + Self::get_bit_count(op2); in multiply()
142 let mut res = Self::new(2 * Self::get_bit_count(op)); in square()
150 d if d >= 0 => max(1, Self::get_bit_count(op1) - Self::get_bit_count(op2)), in divide()
153 let r_bits = Self::get_bit_count(op2); in divide()
169 let mut res = Self::new(Self::get_bit_count(n)); in module()
175 let mut res = Self::new(Self::get_bit_count(n)); in add_mod()
188 let mut res = Self::new(Self::get_bit_count(n)); in sub_mod()
201 let mut res = Self::new(Self::get_bit_count(n)); in mul_mod()
214 let mut res = Self::new(Self::get_bit_count(n)); in square_mod()
220 let mut res = Self::new(Self::get_bit_count(n)); in inv_mod()