Skip to content

Commit

Permalink
cpan/Math-BigInt - Update to version 2.001000
Browse files Browse the repository at this point in the history
2.001000 2023-11-13

 * Fix rounding bug in bsqrt() in Math::BigInt. Also make bsqrt() upgrade only
   when necessary.

 * Simplify and speed up bsqrt() (for computing the square root) in
   Math::BigFloat. The computation time now mainly depends on the desired
   accuracy, not the number of digits in the significand.

 * Add support for using "div_scale" as import parameter, like this

       use Math::BigFloat div_scale => 80;

 * Add better argument checking when the "div_scale" value is set by the
   user.
  • Loading branch information
Peter John Acklam authored and jkeenan committed Nov 14, 2023
1 parent 867a740 commit be4fcf4
Show file tree
Hide file tree
Showing 22 changed files with 596 additions and 573 deletions.
5 changes: 4 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,7 @@ cpan/Math-BigInt/lib/Math/BigRat.pm Math-BigInt
cpan/Math-BigInt/t/alias.inc Support for BigInt tests
cpan/Math-BigInt/t/bare_mbf.t Test MBF under Math::BigInt::BareCalc
cpan/Math-BigInt/t/bare_mbi.t Test MBI under Math::BigInt::BareCalc
cpan/Math-BigInt/t/bare_mbr.t Math-BigInt
cpan/Math-BigInt/t/bare_mif.t Rounding tests under BareCalc
cpan/Math-BigInt/t/bfround_numify.t Test file related to Math::BigInt
cpan/Math-BigInt/t/big_ap.t Math-BigInt
Expand Down Expand Up @@ -1615,12 +1616,13 @@ cpan/Math-BigInt/t/Math/BigInt/Lib/Minimal.pm Module related to Math::BigInt
cpan/Math-BigInt/t/Math/BigInt/Lib/TestUtil.pm Test Math::BigInt
cpan/Math-BigInt/t/Math/BigInt/Scalar.pm Pure Perl module to support Math::BigInt
cpan/Math-BigInt/t/Math/BigInt/Subclass.pm Empty subclass of BigInt for test
cpan/Math-BigInt/t/Math/BigRat/Test.pm Math-BigInt
cpan/Math-BigInt/t/Math/BigRat/Subclass.pm Math-BigInt
cpan/Math-BigInt/t/mbf_ali.t Tests for BigFloat
cpan/Math-BigInt/t/mbi_ali.t Tests for BigInt
cpan/Math-BigInt/t/mbi_rand.t Test Math::BigInt randomly
cpan/Math-BigInt/t/mbimbf.inc Actual BigInt/BigFloat accuracy, precision and fallback, round_mode tests
cpan/Math-BigInt/t/mbimbf.t BigInt/BigFloat accuracy, precision and fallback, round_mode
cpan/Math-BigInt/t/mbr_ali.t Math-BigInt
cpan/Math-BigInt/t/nan_cmp.t overloaded comparison involving *NaN*
cpan/Math-BigInt/t/new_overloaded.t test overloaded numbers in BigFloat's new()
cpan/Math-BigInt/t/round.t Test rounding with non-integer A and P
Expand All @@ -1629,6 +1631,7 @@ cpan/Math-BigInt/t/rt121139.t Math-BigInt
cpan/Math-BigInt/t/sub_ali.t Tests for aliases in BigInt subclasses
cpan/Math-BigInt/t/sub_mbf.t Empty subclass test of BigFloat
cpan/Math-BigInt/t/sub_mbi.t Empty subclass test of BigInt
cpan/Math-BigInt/t/sub_mbr.t Math-BigInt
cpan/Math-BigInt/t/sub_mif.t Test A & P with subclasses using mbimbf.inc
cpan/Math-BigInt/t/trap.t Test whether trap_nan and trap_inf work
cpan/Math-BigInt/t/upgrade.inc Actual tests for upgrade.t
Expand Down
3 changes: 2 additions & 1 deletion Porting/Maintainers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ package Maintainers;
},

'Math::BigInt' => {
'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-2.000000.tar.gz',
'DISTRIBUTION' => 'PJACKLAM/Math-BigInt-2.001000.tar.gz',
'SYNCINFO' => 'jkeenan on Tue Nov 14 17:22:07 2023',
'SYNCINFO' => 'jkeenan on Thu Nov 2 17:12:13 2023',
'SYNCINFO' => 'jkeenan on Thu Sep 28 07:49:05 2023',
'SYNCINFO' => 'jkeenan on Sun Sep 24 08:09:46 2023',
Expand Down

0 comments on commit be4fcf4

Please sign in to comment.