Home
last modified time | relevance | path

Searched refs:LIMB_BITS (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/minimal-lexical/src/
H A Dbigint.rs24 pub const BIGINT_LIMBS: usize = BIGINT_BITS / LIMB_BITS;
191 if LIMB_BITS == 32 { in from_u64()
315 1 if LIMB_BITS == 32 => hi!(@1 x, rslc, u32, u32_to_hi64_1), in hi64()
317 2 if LIMB_BITS == 32 => hi!(@2 x, rslc, u32, u32_to_hi64_2), in hi64()
319 _ if LIMB_BITS == 32 => hi!(@nonzero3 x, rslc, u32, u32_to_hi64_3), in hi64()
386 let small_step = if LIMB_BITS == 32 { in pow()
422 (z as Limb, (z >> LIMB_BITS) as Limb) in scalar_mul()
627 debug_assert!(n < LIMB_BITS); in shl_bits()
628 let rshift = LIMB_BITS - n; in shl_bits()
674 let rem = n % LIMB_BITS; in shl()
781 pub const LIMB_BITS: usize = 64; global() consts
788 pub const LIMB_BITS: usize = 32; global() consts
[all...]
H A Dslow.rs9 use crate::bigint::{Bigint, Limb, LIMB_BITS};
285 let step: usize = if LIMB_BITS == 32 { in parse_mantissa()
/third_party/rust/crates/minimal-lexical/tests/
H A Dvec_tests.rs40 if bigint::LIMB_BITS == 32 { in simple_test()
110 let expected: VecType = if bigint::LIMB_BITS == 32 { in math_test()
358 let expected: VecType = if bigint::LIMB_BITS == 32 { in shl_limbs_test()

Completed in 3 milliseconds