- Fixed broken MIT license file link
- Added missing license files to repository
- Upgraded dependencies to proptest 1.0.0, num-bigint 0.4, rand 0.8
- Typo fixes in docs
- Fixed a compile error on rustc 1.26
- Added
StrengthReducedU128
- Rewrote the strength reduction algorithm to require less code and less branching.
- Significantly reduced the setup cost of StrengthReducedU64. It now breaks even at 3-4 divisions, instead of 30-40.
- Fixed a class of bugs for certain divisors with very large numerators, where the returned quotient was off by one.
strength_reduce
is now marked#[!no_std]
- Added the readme to cargo.tom, so that it can be rendered directly from crates.io
- Initial release. Support for computing strength-reduced division and modulo for unsigned integers:
u8
:StrengthReducedU8
u16
:StrengthReducedU16
u32
:StrengthReducedU32
u64
:StrengthReducedU64
usize
:StrengthReducedUsize