424f38f211
As indicated in the comment, the BigNum::bit_length function could be optimized by using CLZ, which is often a single instruction instead a loop. I think the code is also simpler now without the loop. I added some additional tests for Big8x3 and Big32x40 to ensure that there were no regressions. |
||
---|---|---|
.. | ||
dec2flt | ||
flt2dec | ||
bignum.rs | ||
const_from.rs | ||
i8.rs | ||
i16.rs | ||
i32.rs | ||
i64.rs | ||
i128.rs | ||
ieee754.rs | ||
int_log.rs | ||
int_macros.rs | ||
mod.rs | ||
nan.rs | ||
ops.rs | ||
u8.rs | ||
u16.rs | ||
u32.rs | ||
u64.rs | ||
u128.rs | ||
uint_macros.rs | ||
wrapping.rs |