This has nothing to do with Perl in particular. Rather, floating point math sucks in general... (because many numbers can't be represented exactly)
You'll find many related threads here when you search this site for "What Every Computer Scientist Should Know About Floating Point Arithmetic".
In reply to Re: Why does perl math suck?
by Anonyrnous Monk
in thread Why does perl math suck?
by sharkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |