PEP-308 a "simplicity-first" alternative
Andrew Koenig
ark at research.att.com
Sun Feb 16 18:55:28 EST 2003
Bengt> and the reason you didn't use eleven * tenths more literally, as in
>>>> 11 * .1 == 1.1
Bengt> 1
Bengt> is that that had an inconvenient superficial result ;-)
Bengt> (while really only proving that different terms can have
Bengt> matching representational errors)
>>>> 11 * .1 , 1.1
Bengt> (1.1000000000000001, 1.1000000000000001)
Bengt> How's my guessing?
Bengt> ;-)
Exactly right.
--
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark
More information about the Python-list
mailing list