HELP: restore my faith in Python
Moshe Zadka
moshez at math.huji.ac.il
Sat Mar 4 06:04:30 EST 2000
More information about the Python-list mailing list
Sat Mar 4 06:04:30 EST 2000
- Previous message (by thread): HELP: restore my faith in Python
- Next message (by thread): HELP: restore my faith in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Tim Peters] > At the level of the original poster's question, the best IEEE-754 conformant > answer is "floating point sucks". That's it. I've given up on trying to understand you. What should 1/2 do? 1. It can't return 0.5 -- floating point sucks 2. It can't return Rational(1, 2) -- rational arithmetic blows up 3. It can't return 0 -- integer division is confusing (Note that I do agree on 1 and 3, and you managed to convince me about 2) i-fear-the-decimal-point-ly y'rs, Z. -- Moshe Zadka <mzadka at geocities.com>. http://www.oreilly.com/news/prescod_0300.html
- Previous message (by thread): HELP: restore my faith in Python
- Next message (by thread): HELP: restore my faith in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list