Repository navigation
v0.4.3
This release is mostly focused on fix: #32.
A lot of work was done, but a huge part of the optimization should still be completed.
Added
- Added core mathematical operations:
widening_mul: full 256-bit multiplication for 128-bit integersdiv_digit: optimized division by single 64-bit digitdecimal_digits: efficient decimal digit countingremaining_decimal_digits: safe decimal scaling calculationcan_scaled_by_power_of_ten: overflow prevention for decimal operations
Fixed
- Fixed postgres padding overflowing #43.
- Fixed bug in
widening_mulfor u128 where high bits were incorrectly handled. - Fixed incorrect overflow detection in large number multiplication.
- Fixed edge cases in power-of-ten scaling operations.
Performance
- Optimized division algorithm for decimal numbers.
- Optimized multiplication algorithm for 128-bit integers.
- Improved overflow checking using precomputed values.
- Enhanced decimal digit counting performance.
Internal
- Improved code documentation with detailed algorithm descriptions.
- Added comprehensive examples for core numeric operations.
- Enhanced performance-related documentation.
Documentation
- Minor fixes.