Tanner Lovelace wrote:
Yep. Look up "catastrophic cancellation" in google to find out more about that. Actually, if you misspell it as "catastrophic cancelation" you find this web page:
http://www.cs.princeton.edu/introcs/91float/
Great article! Thanks for posting that, Tanner. Not sure if MPF is dealing with Java or not, but I am... :-)
Fortunately we haven't been bitten (yet) by using java's float and double datatypes for currency calculations. But at least we're aware of the issue(s) now and can start making adjustments.
TTYL,
Phil
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
