Skip Menu |

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 104012
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: peter.john.acklam [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.55
  • 1.56
  • 1.57
  • 1.58
  • 1.59
  • 1.60
  • 1.61
  • 1.62
  • 1.63
  • 1.64
  • 1.65
  • 1.66
  • 1.67
  • 1.68
  • 1.69
  • 1.70
  • 1.71
  • 1.72
  • 1.73
  • 1.74
  • 1.75
  • 1.76
  • 1.77
  • 1.78
  • 1.79
  • 1.80
  • 1.82
  • 1.83
  • 1.84
  • 1.85
  • 1.86
  • 1.87
  • 1.88
  • 1.89
  • 1.90
  • 1.91
  • 1.92
  • 1.93
  • 1.94-TRIAL
  • 1.95
  • 1.96
  • 1.97
  • 1.98
  • 1.99
  • 1.99.1
  • 1.9902
  • 1.991
  • 1.992
  • 1.993
  • 1.997
  • 1.9993
  • 1.99_05
Fixed in: 1.999701



Subject: Math::BigFloat -> bceil() returns -1
$x -> bceil() for -1 < $x < 0 returns -0. The docs says that -0 should never be returned. A simple example showing the bug: $ perl -MMath::BigFloat -wle 'print Math::BigFloat -> new("-0.4") -> bceil()' -0 The bug has been present in all versions at least back to, and including, the distribution Math-BigInt-1.55.
bint() has the same problem: $ perl -MMath::BigFloat -wle 'print Math::BigFloat -> new("-0.4") -> bint()' -0
Fixed in Math-BigInt-1.999701.