diff options
author | Tels <nospam-abuse@bloodgate.com> | 2007-08-03 15:19:17 +0200 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2007-08-03 11:41:29 +0000 |
commit | 107590b93db0774dedfc46d66b97e8ba9c033c84 (patch) | |
tree | a6a8703f77734526473741fbc2313eb531c5030c | |
parent | 43cde5e1e83b30bf5686de126e495824ad2a47d9 (diff) | |
download | perl-107590b93db0774dedfc46d66b97e8ba9c033c84.tar.gz |
add BigInt changes to perl595delta.pod
Message-Id: <200708031319.18320@bloodgate.com>
p4raw-id: //depot/perl@31680
-rw-r--r-- | pod/perl595delta.pod | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pod/perl595delta.pod b/pod/perl595delta.pod index 8ad962abef..cbe033a010 100644 --- a/pod/perl595delta.pod +++ b/pod/perl595delta.pod @@ -258,6 +258,54 @@ array and should not have been done in the first place. The three numeric pragmas C<bignum>, C<bigint> and C<bigrat> are now lexically scoped. (Tels) +=head2 Math::BigInt/Math::BigFloat + +Many bugs have been fixed; noteworthy are comparisons with NaN, which +no longer warn about undef values. + +The following things are new: + +=over 4 + +=item config() + +The config() method now also supports the calling-style +C<< config('lib') >> in addition to C<< config()->{'lib'} >>. + +=item import() + +Upon import, using C<< lib => 'Foo' >> now warns if the low-level library +cannot be found. To suppress the warning, you can use C<< try => 'Foo' >> +instead. To convert the warning into a die, use C<< only => 'Foo' >> +instead. + +=item roundmode common + +A rounding mode of C<common> is now supported. + +=back + +Also, support for the following methods has been added: + +=over 4 + +=item bpi(), bcos(), bsin(), batan(), batan2() + +=item bmuladd() + +=item bexp(), bnok() + +=item from_hex(), from_oct(), and from_bin() + +=item as_oct() + +=back + +In addition, the default math-backend (Calc (Perl) and FastCalc (XS)) now +support storing numbers in parts with 9 digits instead of 7 on Perls with +either 64bit integer or long double support. This means math operations +scale better and are thus faster for really big numbers. + =head2 New Core Modules =over 4 |