summaryrefslogtreecommitdiff
path: root/cpan/Math-BigInt-FastCalc/t/bootstrap.t
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2021-11-19 21:37:48 +0000
committerRichard Leach <richardleach@users.noreply.github.com>2021-11-19 21:37:48 +0000
commit6853e8af3bcdae27c05a50e71c8ede1ab2b42822 (patch)
tree77213230b2a506aeab7d2f43f56eb5856933f5a3 /cpan/Math-BigInt-FastCalc/t/bootstrap.t
parent4c4a89ed9c56cf3cb024f4ed67e9be031b5960cf (diff)
downloadperl-6853e8af3bcdae27c05a50e71c8ede1ab2b42822.tar.gz
Update bignum, Math::BigInt, Math::BigInt::FastCalc, and Math::BigRat
bignum ====== 0.63 2021-10-08 * This version instroduces no changes to the Perl modules, only the tests. * Remove tests that don't work on old Perls and that were actually testing Math::Big(Int|Float|Rat) more than big(int|num|rat). * Skip tests that don't work on older versions of Perl. * Remove Perl v5.10.0 as dependency. This distribution is compatible with Perls back to at least v5.6.1, although some functionality (e.g., nesting the pragmas) requires more recent versions of Perl. 0.62 2021-10-03 * Add support for multiple options in import(), so that one can use, e.g., use bignum accuracy => 20, lib => "GMP"; * Make sure the bigrat pragma always returns Math::BigRat objects. * Make the "trace" option work as indended, or at least according to what I believe is the intention. * Improve documentation. Fix typos, improve wording, add more examples etc. 0.61 2021-10-01 * Improve documentation related to floating point literals. * Skip tests that fail due to Perl's broken handling of floating point literals before v5.32.0. 0.60 2021-09-28 * Separate the bigint, bignum, and bigrat pragmas. - The bigint pragma now converts every numeric constant that represents an integer to a Math::BigInt object. Non-integers are converted to Math::BigInt NaNs. With the previous behaviour, only some numeric constant integers were converted to a Math::BigInt. - The bignum pragma now converts every numeric constant to a Math::BigFloat object. - The bigrat pragma now converts every numeric constant to a Math::BigRat pragma. The pragmas no longer activate upgrading and downgrading. The upgrading and downgrading must now be activated explicitly. The rationale behind deactivating it by default is that can cause infinite looping where objects bounce back and forth between different classes. Explicitly requesting a specific class doesn't always work either, because the object might be automatically upgraded or downgraded to a different class. Only one pragma can be used at a time in a given scope. Enabling one pragma disables the others in the same scope. * Implementat working version of "no bigint", "no bignum", and "no bigrat". Previously, the upgrading and downgrading activated by, e.g., "use bigint" was not deactivated by "no bigint". * Sync behaviour with the Math-BigInt distribution. Math::BigInt ============ 1.999827 2021-10-03 * Improve error message for missing library argument. * Skip tests that don't work on older Perls. Also skip tests that compare floating point numbers. 1.999826 2021-10-01 * Improve documentation related to floating point literals. * Skip tests that fail due to Perl's broken handling of floating point literals before v5.32.0. 1.999825 2021-09-28 * Make Math::BigInt accept integers regardless of whether they are written as decimal, binary, octal, or hexadecimal integers or decimal, binary, octal, or hexadecimal floating point number. * When numeric constants are overloaded (with the ":constant" option) in Math::BigInt, every numeric constant that represent an integer is converted to an object regardless of how it is written. All finite non-integers are converted to a NaN. * When numeric constants are overloaded (with the ":constant" option) in Math::BigFloat, every numeric constant is converted to an object regardless of how it is written. * Add method from_dec() (cf. from_bin(), from_oct(), and from_hex()). It is like new() except that it does not accept anything but a string representing a finite decimal number. 1.999824 2021-09-20 * Don't allow mixing math libraries. Use the first backend math library that is successfully loaded, and ignore any further attempts at loading a different backend library. This is a solution to the re-occurring problem of using objects using different math libraries. * Add missing documentation. * Miscellaneous minor improvements. Math::BigInt::FastCalc ====================== 0.5012 2021-09-28 * Sync test files with Math-BigInt. 0.5011 2021-09-20 * Sync test files with Math-BigInt. * Add missing documentation. * Make the test files only print to the standard error when there is an actual error. * Miscellaneous changes and updates to author and release test files. Math::BigRat ============ 0.2620 2021-10-03 * Skip tests that don't work on older Perls. Also skip tests that compare floating point numbers. 0.2619 2021-10-01 * Correct the handling of Inf and NaN in numify(). * Improve constant overloading. When numeric constants are overloaded (with the ":constant" option) in Math::BigRat, every numeric constant is converted to an object regardless of how it is written. 0.2618 2021-09-28 * Add new method binv() for the inverse. * Add new method dparts(), which returns the integer part and fraction part of a number. For example, 9/4 is split into 2 and 1/4. This method is equivalent to the Math::BigInt and Math::BigFloat methods with the same name. * Improve blog(). Handle cases $x->blog($b) where the numerator of $x and/or $b is 1 as special. * Sync tests with Math-BigInt.
Diffstat (limited to 'cpan/Math-BigInt-FastCalc/t/bootstrap.t')
-rw-r--r--cpan/Math-BigInt-FastCalc/t/bootstrap.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Math-BigInt-FastCalc/t/bootstrap.t b/cpan/Math-BigInt-FastCalc/t/bootstrap.t
index 6f94bebc88..153dc92b91 100644
--- a/cpan/Math-BigInt-FastCalc/t/bootstrap.t
+++ b/cpan/Math-BigInt-FastCalc/t/bootstrap.t
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+# -*- mode: perl; -*-
use Test::More tests => 1;