Pure Rust implementation of a big integer library which has been designed from
the ground-up for use in cryptographic applications. Provides constant-time,
no_std-friendly implementations of modern formulas using const generics.
usesuper::Limb;implLimb{/// Calculate the number of bits needed to represent this number.
pubconstfnbits(self)->usize{Limb::BIT_SIZE-(self.0.leading_zeros()asusize)}}