Re: [Python-ideas] [Python-Dev] The Case Against Floating Point ==
14 Mar
2008
14 Mar
'08
9:40 a.m.
For systems programming I often use floats as timestamps in dictionaries, and in this case I never do calculations and all I care about is "same" or "different", meaning "any single bit difference". If you change the way == works and also follow through and change the way floats in dictionaries work you would probably break very many applications like this. I think any "almost equal" should be implemented using a new method or syntax x~=y rather than break things. - Aaron Watters http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=stdio+stinks
6109
Age (days ago)
6109
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aaron Watters