This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update bignum to CPAN version 0.65 19624/head
authorHugo van der Sanden <hv@crypt.org>
Tue, 12 Apr 2022 18:39:10 +0000 (19:39 +0100)
committerRicardo Signes <rjbs@semiotic.systems>
Sun, 17 Apr 2022 14:18:13 +0000 (10:18 -0400)
commitca3af6c0082fbe7928ee529f3a1741c2ac0559ff
tree7b77f60d5edc70d618d33d7900676ab98dc428b8
parente59cb199fea7032f0535b1a68c961674a477a99f
Update bignum to CPAN version 0.65

    [DELTA]

 * Restore the upgrading and downgrading in "bignum", with the exception
   of upgrading from Math::BigFloat to Math::BigRat, which I couldn't make
   sense of. Now, both integer literals and integers (and Infs and NaNs)
   that are the result of a computation become Math::BigInt objects, and
   both non-integer literals and non-integers that are as a result of a
   computation become Math::BigFloat objects. The classes used for literal
   integers and non-integers during compile-time are configurable, as well
   as the classes used for downgrading and upgrading during runtime.

 * Add the "bigfloat" pragma, which converts all numeric literals to
   Math::BigFloat objects. This is consistent with the "bigint" pragma,
   which converts all numeric literals to Math::BigInt objects, and the
   "bigrat" pragma which converts all numeric literals to Math::BigRat
   objects.
44 files changed:
MANIFEST
Porting/Maintainers.pl
cpan/bignum/gentest/backend.sh
cpan/bignum/gentest/scope-nested-const.sh
cpan/bignum/gentest/scope-nested-hex-oct.sh
cpan/bignum/lib/Math/BigFloat/Trace.pm
cpan/bignum/lib/Math/BigInt/Trace.pm
cpan/bignum/lib/Math/BigRat/Trace.pm
cpan/bignum/lib/bigfloat.pm [new file with mode: 0644]
cpan/bignum/lib/bigint.pm
cpan/bignum/lib/bignum.pm
cpan/bignum/lib/bigrat.pm
cpan/bignum/t/backend-gmp-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/backend-pari-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/bigexp.t
cpan/bignum/t/bigfloat.t [new file with mode: 0644]
cpan/bignum/t/bigint.t
cpan/bignum/t/bignum.t
cpan/bignum/t/bigrat.t
cpan/bignum/t/const-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/const-bignum.t
cpan/bignum/t/down-mbi-up-mbf.t [new file with mode: 0644]
cpan/bignum/t/down-mbi-up-mbr.t [new file with mode: 0644]
cpan/bignum/t/down-mbi-up-undef.t [new file with mode: 0644]
cpan/bignum/t/down-undef-up-mbf.t [new file with mode: 0644]
cpan/bignum/t/e_pi-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/import-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/in_effect.t
cpan/bignum/t/infnan-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/infnan-bignum.t
cpan/bignum/t/option_a-bignum.t [new file with mode: 0644]
cpan/bignum/t/option_a.t
cpan/bignum/t/option_l-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/option_l-bigint.t [new file with mode: 0644]
cpan/bignum/t/option_l-bignum.t [moved from cpan/bignum/t/option_l.t with 100% similarity]
cpan/bignum/t/option_l-bigrat.t [new file with mode: 0644]
cpan/bignum/t/option_p-bignum.t [new file with mode: 0644]
cpan/bignum/t/option_p.t
cpan/bignum/t/overrides.t
cpan/bignum/t/scope-bigfloat.t [new file with mode: 0644]
cpan/bignum/t/scope-bignum.t
cpan/bignum/t/scope-nested-const.t
cpan/bignum/t/scope-nested-hex-oct.t
lib/.gitignore