summaryrefslogtreecommitdiff
path: root/dist/Math-BigInt/t/bare_mbf.t
diff options
context:
space:
mode:
authorPeter John Acklam <pjacklam@online.no>2015-04-28 13:07:43 +0200
committerTony Cook <tony@develop-help.com>2015-06-02 11:07:14 +1000
commit669bc51035a1b1496b037803cb2be274eefacb6b (patch)
treedc25e09a7b1dd54a8b1688aa65a42dc0e03fd58c /dist/Math-BigInt/t/bare_mbf.t
parent0d2463eb22fbb125f7263f45083116de1b5e18ab (diff)
downloadperl-669bc51035a1b1496b037803cb2be274eefacb6b.tar.gz
Fix bug in Math::BigFloat's bceil() and bint() methods.
- When $x is a Math::BigFloat, $x -> bceil() and $x -> bint() for -1 < $x < 0 returns -0. Negative zero is never used by Math::Big(Int|Float), and care has been taken to avoid it, so this bug is surely an oversight. - This patch fixes CPAN RT #104012.
Diffstat (limited to 'dist/Math-BigInt/t/bare_mbf.t')
-rw-r--r--dist/Math-BigInt/t/bare_mbf.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Math-BigInt/t/bare_mbf.t b/dist/Math-BigInt/t/bare_mbf.t
index 8f3727081b..69dcc80f92 100644
--- a/dist/Math-BigInt/t/bare_mbf.t
+++ b/dist/Math-BigInt/t/bare_mbf.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use Test::More tests => 2336;
+use Test::More tests => 2340;
BEGIN { unshift @INC, 't'; }