Lines Matching refs:result
198 /// Returns the result of `self` modulo `w`.
462 /// Places the result of `a * b` in `self`.
484 /// Places the result of `a / b` in `self`. The remainder is discarded.
507 /// Places the result of `a % b` in `self`.
527 /// Places the result of `a / b` in `self` and `a % b` in `rem`.
548 /// Places the result of `a²` in `self`.
554 /// Places the result of `a mod m` in `self`. As opposed to `div_rem`
555 /// the result is non-negative.
574 /// Places the result of `(a + b) mod m` in `self`.
595 /// Places the result of `(a - b) mod m` in `self`.
616 /// Places the result of `(a * b) mod m` in `self`.
637 /// Places the result of `a² mod m` in `self`.
676 /// Places the result of `a^p` in `self`.
695 /// Places the result of `a^p mod m` in `self`.
1433 let mut result = BigNum::from_dec_str(&range.to_dec_str().unwrap()).unwrap();
1434 range.rand_range(&mut result).unwrap();
1435 assert!(result >= BigNum::from_u32(0).unwrap() && result < range);
1442 let mut result = BigNum::from_dec_str(&range.to_dec_str().unwrap()).unwrap();
1443 range.pseudo_rand_range(&mut result).unwrap();
1444 assert!(result >= BigNum::from_u32(0).unwrap() && result < range);