Fix Math::BigFloat->numify().
authorPeter John Acklam <pjacklam@online.no>
Mon, 7 Mar 2011 10:45:38 +0000 (11:45 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 11 Jun 2011 19:17:14 +0000 (12:17 -0700)
commitfc3993133139f2c4cdcfb845ec86abc53fafa050
treeae637220890a78adcc93a94fe82e14f36e8c0a35
parent66a0495875e8130c45cac4fabd5f8d05f2f4c372
Fix Math::BigFloat->numify().

Math::BigFloat->numify() shall, according to the documentation and to be
consistent with Math::BigInt->numify() and Math::BigRat->numify(),
return a Perl scalar number, not a string.

- dist/Math-BigInt/lib/Math/BigFloat.pm:
  - Fix objectify().
- dist/Math-BigInt/t/bigfltpm.inc:
   - Remove no longer relevant tests.
   - Modify existing tests and add new tests to verify correct behaviour.

This fix closes RT #66732.
dist/Math-BigInt/lib/Math/BigFloat.pm
dist/Math-BigInt/t/bigfltpm.inc