cpan Math-BigInt 1.999701

latest releases: 2.003003, 2.003002, 2.003001...
9 years ago
  • The POD documentation, as well as the comments in the code, said that
    $x->bdiv($y) in list context should return quotient $q and remainder $r so
    that $x = $q * $y + $r, and that the remainder (modulo) $r should correspond
    to Perl's % operator as well as the bmod() method. This has not been the
    actual behaviour. This is now fixed. In scalar context, only the quotient is
    returned.

  • Clearer POD documentation for the bdiv() and bmod() methods.

  • All non-integer input values to Math::BigInt gave a NaN, except non-zero
    numbers in the range (-1,1) that were written without an exponent, e.g.,
    "-0.75" and "0.5". Now also these return a NaN.

  • Input values with a large (absolute value) negative exponent, e.g.,
    1e-9999999, now return NaN. The former behaviour was to die with the message
    "Quantifier in {,} bigger than 32766 in regex; marked by ..."

  • Intermediate computations in blog() increased the number of digits
    significantly in some cases. Now reduce the number of digits by rounding.
    However, keep some extra digits for remaining intermediate computations
    before the final rounding.

  • When $x is a Math::BigFloat, $x -> bceil() and $x -> bint() for -1 < $x < 0
    returned -0. Negative zero is never used by Math::Big(Int|Float), and care
    has been taken to avoid it, so this bug is surely an oversight.

  • Explicitly specify the backend (lib => 'Calc') in t/mbimbf.t for easier
    release management of the backend distributions.

  • Add "use warnings" to test scripts, since Perl 5.6.2 is required anyway, and
    "use warnings" was introduced in Perl 5.6.1.

  • Modified test scripts so the difference between the test files in the
    Math-BigInt distribution and the backend distributions are as few and as
    small as possible. This makes for easier release management.

Don't miss a new Math-BigInt release

NewReleases is sending notifications on new releases.