Subject: | Math::BigFloat->numify() returns Perl scalar string, not number |
Contrary to the documentation, Math::BigFloat -> numify() returns a Perl
scalar string, not a number.
For instance, the following should print "1.23456e+105":
$ perl -MMath::BigFloat -wle 'print Math::BigFloat -> new("123456e100")
-> numify()'
123456e+100
And the following should overflow and print the appropriate
representation of infinity:
$ perl -MMath::BigFloat -wle 'print Math::BigFloat -> new("1e999999") ->
numify()'
1e+999999
The bug is present at least all the way back to version 1.35.