Revision history for Math-BigNum
0.10 2016-17-08
- Faster creation of MPFR objects from scalar integer values.
- Conversion of scalar values to MPFR objects is done more strictly, by validating each conversion.
- Added the missing `[b|i]mul` methods in the `Nan` class.
- Minor overall performance improvements, by taking advantage of some commutative properties.
- Added the `bln()` method, which calculates the natural logarithm in-place.
- Stricter definitions for the `log` and `blog` methods when one of the arguments is +/-Infinity.
- Require Math::GMPz >= 0.39 (for Rmpz_bin_si).
- Use Math::GMPq's (>=0.41) `_ulong_max()` and `_long_min()` to determine the integer limits.
0.09 2016-15-08
- Better support for scalar values.
- Better performance for `idiv()` and `bidiv()` when called with negative scalar integers.
- Faster creation of Math::BigNum objects with scalar integer values.
- Scalar values passed to `(b)i*` methods are now validated or converted correspondingly.
0.08 2016-13-08
- Added support for `+inf`, `-inf` and `nan`, each represented as a scalar value.
- Improved the support for infinity to work with any numerical object and any special scalar values.
0.07 2016-06-08
- Fixed a critical bug in the stringification of very small floating-point values
0.06 2016-06-08
- Fixed bpow(0, Inf) to return `0` and bpow(0, -Inf) to return `Inf`
- Added more tests for bpow() and bipow()
- Added the irand() method, which returns a random integer
- Slightly faster stringification of floating-point numbers
0.05 2016-26-05
- 5% optimization in pow(), mod() and is_div() with integer arguments.
- Fixed `0**Inf` to return `0` and `0**(-Inf)` to return `Inf`
0.04 2016-16-03
- Added more multimethods to support any kind of numerical object, such as Math::BigInt, Math::BigFloat, etc...
- Improved the support for infinity.
- `BigNum <=> NaN` will now return `undef` instead of `0`.
0.03 2016-08-02
- Minor performance improvement in the creation of BigNum objects with integers or fractions.
- Changed the result of `(-Inf)**(Float)` from `NaN` to `Inf`.
- Changed the result of `sqrt(-Inf)` from `NaN` to `Inf`.
- Improved the documentation.
0.02 2016-06-02
- Support for decimal numbers with underscores (`_`)
- Fixed a non-portable test.
0.01 2016-05-02
- First version, released on an unsuspecting world.