Skip Menu |
 

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

Report information
The Basics
Id: 120351
Status: new
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: pjacklam [...] online.no
Cc:
AdminCc:

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



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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.