Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math::BigInt #433

Closed
p5pRT opened this issue Aug 25, 1999 · 2 comments
Closed

Math::BigInt #433

p5pRT opened this issue Aug 25, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 25, 1999

Migrated from rt.perl.org#1274 (status was 'resolved')

Searchable as RT1274$

@p5pRT
Copy link
Author

p5pRT commented Aug 25, 1999

From kmb28@cus.cam.ac.uk

When using the Math​::BigInt module, I frequently get the message

Use of uninitialized value at /usr/lib/perl5/Math/BigInt.pm line 189.

This is the line marked below​:

# subtract base 1e5 numbers -- stolen from Knuth Vol 2 pg 232, $x > $y
sub sub { #(int_num_array, int_num_array) return int_num_array
  local(*sx, *sy) = @​_;
  $bar = 0;
  for $sx (@​sx) {
  last unless @​y || $bar;
  $sx += 1e5 if $bar = (($sx -= shift(@​sy) + $bar) < 0); # buggy
  }
  @​sx;
}

I cannot find the email address of author Mark Biggar, so
I am reporting it to perlbug.

kbriggs@​epidem16​:~> perl -v
This is perl, version 5.004_04 built for i386-linux
kbriggs@​epidem16​:~> uname -a
Linux epidem16.plantsci.cam.ac.uk 2.0.34 #1 Fri May 8 16​:05​:57 EDT 1998 i586 unknown

Keith
--
Keith Briggs, Department of Plant Sciences, University of Cambridge,
Downing Street, Cambridge CB2 3EA, England. Email​: kmb28@​cam.ac.uk

@p5pRT
Copy link
Author

p5pRT commented Aug 25, 1999

From [Unknown Contact. See original ticket]

On Wed, 25 Aug 1999 at 16​:11​:17 +0100, Dr K.M. Briggs wrote​:

When using the Math​::BigInt module, I frequently get the message
Use of uninitialized value at /usr/lib/perl5/Math/BigInt.pm line 189.

Most (if not all) the warnings are gone with the current development
version (5.005_61) of Math​::BigInt. I'm not sure exactly when they went,
but you should be able use the new version of the module with your
existing perl.

I cannot find the email address of author Mark Biggar, so
I am reporting it to perlbug.

The right thing to do for any component of Perl that comes with the
source distribution.

Ian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant