--On Thursday, September 27, 2007 11:14:09 AM -0400 Andrew Louie wrote:
when incrementing by 0.1 i get a strange behavior where at some arbitrary number, it will append 0.9999999999 to the end of the number.
This is rounding error and applies to all computer systems and all programming languages that use fixed size number representations. It can be fatal - for example see <http://www.ima.umn.edu/~arnold/disasters/patriot.html>.
-- Owen Rees; speaking personally, and not on behalf of HP. ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/