[FRPythoneers] I must be sitting too close to the monitor.
BSimons at geographix.com
Thu Jan 13 10:26:03 MST 2005
The python tutorial has a nice appendix "Floating Point Arithmetic:
Issues and Limitations"
William Kahan, one of the researches behind the IEEE floating point
standard has many papers about it:
Tim Peters is the acknowledged floating point expert among Python
developers. Search for his posts on the comp.lang.python newsgroup and
python-dev mailing lists for a bunch of informative and entertaining
threads on the subject.
From: frpythoneers-bounces at lists.community.tummy.com
[mailto:frpythoneers-bounces at lists.community.tummy.com] On Behalf Of
Sent: Wednesday, January 12, 2005 13:51
To: Front Range Python Users -- General Discussion
Subject: [FRPythoneers] I must be sitting too close to the monitor.
My apologies for posing a VERY low-level user question . . .
I use (well, try to anyway) Python in a junior high class I teach.
I have a simple script and very dumb question . . .
change = 0.05
while change >= 0.01:
change = change - 0.01
Why doesn't "0.01" appear in the output?!?!?!
Thank you for any help you could give me!
_____ ___ __ __
/____/ \ /_ /| /_/| /_/| Scott Durkin - sdurkin at psdschools.org
| __ \ /| | | | | |__| | |
| |__) |/ /|_| | | | __ | | Computer Science
| ___/ ||__| | | | | || | | Preston Junior High
|_|/ |_____|/ |_|/ |_|/
This message sent by the FRPythoneers mailing list.
Unsubscribe: echo unsubscribe |
FRPythoneers-request at lists.community.tummy.com
More information about the FRPythoneers