Syntactic Confectionery Delight | |
PerlMonks |
Re^4: math problemsby kennethk (Abbot) |
on Mar 29, 2011 at 15:14 UTC ( [id://896199]=note: print w/replies, xml ) | Need Help?? |
I agree that doubling the range may be a good solution depending on the input. My experience has shown me that increasing a valid range by a factor of two is generally stop-gap, but without more knowledge of the problem this is pure conjecture.
I would certainly not promote arbitrary precision in the general case, but in this case the OP has (probably) encountered the native limit, and appears to expect an unreasonable 20-digits of precision based on his format string.
In Section
Seekers of Perl Wisdom
|
|