Skip Menu |

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

Report information
The Basics
Id: 120351
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: (no value)
Fixed in: 1.999812



Subject: bpow() doesn't handle infinity correctly
This case should return inf: $ perl -MMath::BigInt -wle '$x = Math::BigInt -> binf("+"); print $x ** $x' NaN These two cases should return 0: $ perl -MMath::BigInt -wle '$x = Math::BigInt -> binf("+"); print $x ** (-$x)' NaN $ perl -MMath::BigFloat -wle '$x = Math::BigFloat -> binf("+"); print $x ** (-$x)' inf These bugs have been around for ages.