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

Owner: Nobody in particular
Requestors: peter.john.acklam [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.999812

Subject: bpow() doesn't handle infinity correctly
Download (untitled) / with headers
text/plain 354b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to