Subject: | bignum doesn't handle hexadecimal floating-point literals |
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.