strange behavior with perl v 5.8.8
Owen Rees
owen.rees@hp.com
Thu Sep 27 16:02:00 GMT 2007
--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/
More information about the Cygwin
mailing list