summaryrefslogtreecommitdiff
path: root/lib/Math/BigInt.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-07-05 12:06:41 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-07-05 12:06:41 +0000
commitb0fc0438e4470f0252a9d5d774bd5c39be8f3fd7 (patch)
treed4b628ada8eb62f5305d6ed6322048d580e194e3 /lib/Math/BigInt.pm
parent822df56176318d6ed90d76ef3dcd74f3721e140b (diff)
downloadperl-b0fc0438e4470f0252a9d5d774bd5c39be8f3fd7.tar.gz
Comment out some debugging output in Math::BigInt, that
causes confusion in t/TEST when running Math/BigInt/t/bare_mbi.t. p4raw-id: //depot/perl@20010
Diffstat (limited to 'lib/Math/BigInt.pm')
-rw-r--r--lib/Math/BigInt.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Math/BigInt.pm b/lib/Math/BigInt.pm
index 75a9be7e08..fba83e27b9 100644
--- a/lib/Math/BigInt.pm
+++ b/lib/Math/BigInt.pm
@@ -2188,22 +2188,22 @@ sub broot
#my $lastlast = $x+$y;
my $divider = $self->new(2);
my $up = $y-1;
- print "start $org divider $divider up $up\n";
+ #print "start $org divider $divider up $up\n";
while ($last != $x && $lastlast != $x)
{
- print "at $x ($last $lastlast)\n";
+ #print "at $x ($last $lastlast)\n";
$lastlast = $last; $last = $x->copy();
- print "at $x ($last ",($org / ($x ** $up)),"\n";
+ #print "at $x ($last ",($org / ($x ** $up)),"\n";
$x->badd($org / ($x ** 2));
$x->bdiv($divider);
}
- print $x ** $y," org ",$org,"\n";
+ #print $x ** $y," org ",$org,"\n";
# correct overshot
while ($x ** $y < $org)
{
- print "correcting $x to ";
+ #print "correcting $x to ";
$x->binc();
- print "$x ( $x ** $y == ",$x ** $y,")\n";
+ #print "$x ( $x ** $y == ",$x ** $y,")\n";
}
$x->round(@r);
}