},
'bignum' => {
- 'DISTRIBUTION' => 'PJACKLAM/bignum-0.44.tar.gz',
+ 'DISTRIBUTION' => 'PJACKLAM/bignum-0.45.tar.gz',
'FILES' => q[cpan/bignum],
'EXCLUDED' => [
- qr{^inc/Module/},
qr{^t/author-},
qw( t/00sig.t
t/01load.t
use Exporter;
use Math::BigFloat;
-our ($PACKAGE, @EXPORT_OK, $accuracy, $precision, $round_mode, $div_scale);
+our ($accuracy, $precision, $round_mode, $div_scale);
our @ISA = qw(Exporter Math::BigFloat);
-our $VERSION = '0.44';
+our $VERSION = '0.45';
-use overload; # inherit overload from BigFloat
+use overload; # inherit overload from Math::BigFloat
# Globals
$accuracy = $precision = undef;
use Exporter;
use Math::BigInt;
-our ($PACKAGE, @EXPORT_OK, $accuracy, $precision, $round_mode, $div_scale);
+our ($accuracy, $precision, $round_mode, $div_scale);
our @ISA = qw(Exporter Math::BigInt);
-our $VERSION = '0.44';
+our $VERSION = '0.45';
-use overload; # inherit overload from BigInt
+use overload; # inherit overload from Math::BigInt
# Globals
$accuracy = $precision = undef;
use strict;
use warnings;
-our $VERSION = '0.44';
+our $VERSION = '0.45';
use Exporter;
our @ISA = qw( Exporter );
perl -Mbigint=a,65 -le 'print 2 ** 0.2'
perl -Mbignum=a,65,l,GMP -le 'print 7 ** 7777'
+=head1 BUGS
+
+For information about bugs and how to report them, see the BUGS section in the
+documentation available with the perldoc command.
+
+ perldoc bignum
+
+=head1 SUPPORT
+
+You can find documentation for this module with the perldoc command.
+
+ perldoc bigint
+
+For more information, see the SUPPORT section in the documentation available
+with the perldoc command.
+
+ perldoc bignum
+
=head1 LICENSE
This program is free software; you may redistribute it and/or modify it under
=head1 SEE ALSO
-Especially L<bigrat> as in C<perl -Mbigrat -le 'print 1/3+1/4'> and
-L<bignum> as in C<perl -Mbignum -le 'print sqrt(2)'>.
+L<bignum> and L<bigrat>.
-L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
+L<Math::BigInt>, L<Math::BigFloat>, L<Math::BigRat> and L<Math::Big> as well as
+L<Math::BigInt::FastCalc>, L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
=head1 AUTHORS
+=over 4
+
+=item *
+
(C) by Tels L<http://bloodgate.com/> in early 2002 - 2007.
+=item *
+
+Maintained by Peter John Acklam E<lt>pjacklam@gmail.com<gt>, 2014-.
+
+=back
+
=cut
use strict;
use warnings;
-our $VERSION = '0.44';
+our $VERSION = '0.45';
use Exporter;
our @ISA = qw( bigint );
perl -Mbignum=a,65 -le 'print 2 ** 0.2'
perl -Mbignum=a,65,l,GMP -le 'print 7 ** 7777'
+=head1 BUGS
+
+Please report any bugs or feature requests to
+C<bug-math-bigint at rt.cpan.org>, or through the web interface at
+L<https://rt.cpan.org/Ticket/Create.html?Queue=bignum> (requires login).
+We will be notified, and then you'll automatically be notified of
+progress on your bug as I make changes.
+
+=head1 SUPPORT
+
+You can find documentation for this module with the perldoc command.
+
+ perldoc bignum
+
+You can also look for information at:
+
+=over 4
+
+=item * RT: CPAN's request tracker
+
+L<https://rt.cpan.org/Public/Dist/Display.html?Name=bignum>
+
+=item * AnnoCPAN: Annotated CPAN documentation
+
+L<http://annocpan.org/dist/bignum>
+
+=item * CPAN Ratings
+
+L<http://cpanratings.perl.org/dist/bignum>
+
+=item * Search CPAN
+
+L<http://search.cpan.org/dist/bignum/>
+
+=item * CPAN Testers Matrix
+
+L<http://matrix.cpantesters.org/?dist=bignum>
+
+=back
+
=head1 LICENSE
This program is free software; you may redistribute it and/or modify it under
=head1 SEE ALSO
-Especially L<bigrat> as in C<perl -Mbigrat -le 'print 1/3+1/4'>.
+L<bigint> and L<bigrat>.
-L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
+L<Math::BigInt>, L<Math::BigFloat>, L<Math::BigRat> and L<Math::Big> as well as
+L<Math::BigInt::FastCalc>, L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
=head1 AUTHORS
+=over 4
+
+=item *
+
(C) by Tels L<http://bloodgate.com/> in early 2002 - 2007.
+=item *
+
+Maintained by Peter John Acklam E<lt>pjacklam@gmail.com<gt>, 2014-.
+
+=back
+
=cut
use strict;
use warnings;
-our $VERSION = '0.44';
+our $VERSION = '0.45';
use Exporter;
our @ISA = qw( bigint );
perl -Mbigrat -le 'print 12->is_odd()';
perl -Mbignum=l,GMP -le 'print 7 ** 7777'
+=head1 BUGS
+
+For information about bugs and how to report them, see the BUGS section in the
+documentation available with the perldoc command.
+
+ perldoc bignum
+
+=head1 SUPPORT
+
+You can find documentation for this module with the perldoc command.
+
+ perldoc bigrat
+
+For more information, see the SUPPORT section in the documentation available
+with the perldoc command.
+
+ perldoc bignum
+
=head1 LICENSE
This program is free software; you may redistribute it and/or modify it under
=head1 SEE ALSO
-Especially L<bignum>.
+L<bignum> and L<bigint>.
-L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
+L<Math::BigInt>, L<Math::BigFloat>, L<Math::BigRat> and L<Math::Big> as well as
+L<Math::BigInt::FastCalc>, L<Math::BigInt::Pari> and L<Math::BigInt::GMP>.
=head1 AUTHORS
+=over 4
+
+=item *
+
(C) by Tels L<http://bloodgate.com/> in early 2002 - 2007.
+=item *
+
+Peter John Acklam E<lt>pjacklam@gmail.com<gt>, 2014-.
+
+=back
+
=cut
for my $nan (qw/ nan naN nAn nAN Nan NaN NAn NAN /) {
my $x = 1 + $nan;
- print ref($x), "<<<\n";
is($x->bstr(), "NaN", qq|\$x = 1 + "$nan"; \$x->bstr() = "NaN"|);
isa_ok($x, "Math::BigInt");
}