Skip Menu |
 

This queue is for tickets about the bignum CPAN distribution.

Report information
The Basics
Id: 108481
Status: resolved
Priority: 0/
Queue: bignum

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

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



Subject: bignum doesn't handle hexadecimal floating-point literals
Download (untitled) / with headers
text/plain 607b
Perl 5.22 introduced hexadecimal floating-point literals, but bignum doesn't handle them. $ perl -wle 'print 0x1.921fb54442d18p+1' 3.14159265358979 $ perl -Mbignum -wle 'print 0x1.921fb54442d18p+1' Use of uninitialized value $_[1] in subtraction (-) at /usr/local/lib/perl5/5.22/Math/BigInt/Calc.pm line 106. Use of uninitialized value $_[1] in int at /usr/local/lib/perl5/5.22/Math/BigInt/Calc.pm line 109. Can't use an undefined value as a SCALAR reference at /usr/local/lib/perl5/5.22/Math/BigFloat.pm line 194. Propagated at -e line 1, at end of line Execution of -e aborted due to compilation errors.
Fixed


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.