|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: perl subtractionby swampyankee (Parson) |
| on Jan 10, 2010 at 20:24 UTC ( #816636=note: print w/ replies, xml ) | Need Help?? |
|
You've just run into a problem that computer programmers have dealt with for decades: floating point numbers do not form a closed set under the operations of normal arithmetic. The reason is, of course, that floating point numbers only represent a finite subset of rational numbers.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||