Skip Menu |

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

Report information
The Basics
Id: 21586
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Math-BigInt

Owner: TELS [...]
Requestors: peter.john.acklam [...]

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

Subject: Incorrect result when comparing with NaN
Download (untitled) / with headers
text/plain 344b
The following SHOULD NOT give a warning about an uninitialized value, however it SHOULD return false, since comparing a NaN to anything (even another NaN) should return false: $ perl -MMath::BigInt -wle 'print Math::BigInt->bnan() == 2' Use of uninitialized value in numeric eq (==) at -e line 1. 1 The same happens with Math::BigFloat.
I agree, will fix in v1.78, but it requires a bit of work.
Download (untitled) / with headers
text/plain 151b
I just released Math::BigInt 1.80 to CPAN, which fixes this issue in both BigInt and BigFloat. Thank you for your report, and sorry for the long delay.

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

Please report any issues with to