At 08:39 AM 3/19/2007 -0500, [EMAIL PROTECTED] wrote: >I have a recollection from a computer math class many years ago that you >should never, ever, round intermediate numbers in a calculation. The >"rounding" itself then becomes part of the next step, then the next, and >so on. While that may not be an issue with simple addition/subtraction, >multiplication (or worse, exponentiation), could turn a little rounding >into a huge error at the end.
Of course u should never round when u don't have to. But at some point it has to happen, whether u do it urself in some code or the arithmetic engine does it on its floats. Decimal to binary conversions are lossy and computers can't hold infinite precision numbers. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs