Lines Matching defs:Limb
127 pub fn rview(x: &[Limb]) -> ReverseView<Limb> {
138 pub fn compare(x: &[Limb], y: &[Limb]) -> cmp::Ordering {
174 pub fn is_normalized(x: &[Limb]) -> bool {
192 vec.try_push(x as Limb).unwrap();
193 vec.try_push((x >> 32) as Limb).unwrap();
195 vec.try_push(x as Limb).unwrap();
210 pub fn nonzero(x: &[Limb], rindex: usize) -> bool {
310 pub fn hi64(x: &[Limb]) -> (u64, bool) {
391 let max_native = (5 as Limb).pow(small_step);
399 small_mul(x, small_power as Limb)?;
409 pub fn scalar_add(x: Limb, y: Limb) -> (Limb, bool) {
417 pub fn scalar_mul(x: Limb, y: Limb, carry: Limb) -> (Limb, Limb) {
422 (z as Limb, (z >> LIMB_BITS) as Limb)
430 pub fn small_add_from(x: &mut VecType, y: Limb, start: usize) -> Option<()> {
436 carry = result.1 as Limb;
448 pub fn small_add(x: &mut VecType, y: Limb) -> Option<()> {
454 pub fn small_mul(x: &mut VecType, y: Limb) -> Option<()> {
472 pub fn large_add_from(x: &mut VecType, y: &[Limb], start: usize) -> Option<()> {
489 // Limb::max_value() + Limb::max_value(). Add the previous carry,
511 pub fn large_add(x: &mut VecType, y: &[Limb]) -> Option<()> {
577 pub fn long_mul(x: &[Limb], y: &[Limb]) -> Option<VecType> {
602 pub fn large_mul(x: &mut VecType, y: &[Limb]) -> Option<()> {
630 let mut prev: Limb = 0;
687 pub fn leading_zeros(x: &[Limb]) -> u32 {
699 pub fn bit_length(x: &[Limb]) -> u32 {
777 pub type Limb = u64;
784 pub type Limb = u32;