|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Bad mathby moritz (Cardinal) |
| on Oct 31, 2011 at 15:08 UTC ( #934901=note: print w/ replies, xml ) | Need Help?? |
|
FWIW Perl 6 solves this problem by doing math in rational numbers by default:
See also: What Every Computer Scientist Should Know About Floating-Point Arithmetic and rats and other pets.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||