rust/library/core/tests/num
Christopher Swenson 424f38f211 Simplification of BigNum::bit_length
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.
2022-01-10 14:18:28 -08:00
..
dec2flt Changed dec2flt to use the Eisel-Lemire algorithm. 2021-07-17 00:30:34 -05:00
flt2dec Move flt2dec::{Formatted, Part} to dedicated module 2021-06-06 02:54:51 +01:00
bignum.rs Simplification of BigNum::bit_length 2022-01-10 14:18:28 -08:00
const_from.rs Add test for int to float 2021-08-07 19:03:34 +02:00
i8.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
i16.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
i32.rs Minor refactoring 2020-09-05 17:07:53 +05:30
i64.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
i128.rs Add u128 and i128 integer tests 2020-11-14 20:27:08 +01:00
ieee754.rs Add IEEE754 tests 2021-03-22 17:02:06 -07:00
int_log.rs Speed up integer log10. 2021-09-09 18:14:47 +02:00
int_macros.rs Revert "Temporarily rename int_roundings functions to avoid conflicts" 2021-11-22 15:49:04 -05:00
mod.rs Implement IEEE 754-2019 minimun and maximum functions for f32/f64 2021-11-20 10:14:03 +01:00
nan.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
ops.rs Adds tests to ensure some base op traits exist. 2021-01-13 23:14:00 -05:00
u8.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
u16.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
u32.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
u64.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
u128.rs Add u128 and i128 integer tests 2020-11-14 20:27:08 +01:00
uint_macros.rs Revert "Temporarily rename int_roundings functions to avoid conflicts" 2021-11-22 15:49:04 -05:00
wrapping.rs Avoid ident concatenation in macro. 2021-01-13 23:13:55 -05:00