@@ -2,9 +2,10 @@ package bignum;
22
33use 5.006;
44use strict;
5- use warnings;
5+ # use warnings;
6+ use cperl;
67
7- our $VERSION = ' 0.42c ' ;
8+ our $VERSION = ' 0.47c ' ;
89$VERSION =~ s / c$// ;
910
1011use Exporter;
@@ -159,6 +160,8 @@ sub import :method
159160 else {
160161 # see if we can find Math::BigInt::Lite
161162 if (!defined $a && !defined $p ) { # rounding won't work to well
163+ local @INC = @INC ;
164+ pop @INC if $INC [-1] eq ' .' ;
162165 if (eval { require Math::BigInt::Lite; 1 }) {
163166 @import = (); # :constant in Lite, not MBI
164167 Math::BigInt::Lite-> import (' :constant' );
@@ -662,20 +665,70 @@ Some cool command line examples to impress the Python crowd ;)
662665 perl -Mbignum=a,65 -le 'print 2 ** 0.2'
663666 perl -Mbignum=a,65,l,GMP -le 'print 7 ** 7777'
664667
668+ =head1 BUGS
669+
670+ Please report any bugs or feature requests to
671+ C<bug-math-bigint at rt.cpan.org > , or through the web interface at
672+ L<https://rt.cpan.org/Ticket/Create.html?Queue=bignum> (requires login).
673+ We will be notified, and then you'll automatically be notified of
674+ progress on your bug as I make changes.
675+
676+ =head1 SUPPORT
677+
678+ You can find documentation for this module with the perldoc command.
679+
680+ perldoc bignum
681+
682+ You can also look for information at:
683+
684+ =over 4
685+
686+ =item * RT: CPAN's request tracker
687+
688+ L<https://rt.cpan.org/Public/Dist/Display.html?Name=bignum>
689+
690+ =item * AnnoCPAN: Annotated CPAN documentation
691+
692+ L<http://annocpan.org/dist/bignum>
693+
694+ =item * CPAN Ratings
695+
696+ L<http://cpanratings.perl.org/dist/bignum>
697+
698+ =item * Search CPAN
699+
700+ L<http://search.cpan.org/dist/bignum/>
701+
702+ =item * CPAN Testers Matrix
703+
704+ L<http://matrix.cpantesters.org/?dist=bignum>
705+
706+ =back
707+
665708=head1 LICENSE
666709
667710This program is free software; you may redistribute it and/or modify it under
668711the same terms as Perl itself.
669712
670713=head1 SEE ALSO
671714
672- Especially L<bigrat> as in C< perl -Mbigrat -le 'print 1/3+1/4' > .
715+ L<bigint> and L<bigrat > .
673716
674- L<Math::BigFloat > , L<Math::BigInt > , L<Math::BigRat> and L<Math::Big> as well
675- as L<Math::BigInt::Pari> and L<Math::BigInt::GMP> .
717+ L<Math::BigInt > , L<Math::BigFloat > , L<Math::BigRat> and L<Math::Big> as well as
718+ L<Math::BigInt::FastCalc> , L<Math::BigInt::Pari> and L<Math::BigInt::GMP> .
676719
677720=head1 AUTHORS
678721
722+ =over 4
723+
724+ =item *
725+
679726(C) by Tels L<http://bloodgate.com/> in early 2002 - 2007.
680727
728+ =item *
729+
730+ Maintained by Peter John Acklam E<lt> pjacklam@gmail.com<gt>, 2014-.
731+
732+ =back
733+
681734=cut
0 commit comments