2011/6/12 Brett Ritter <swift...@swiftone.org>

>
> Okay fine, so "1024" stored as a number only requires 10 bits (binary
> digits) to store,

Actually, 11. :-)

Another point that was still not emphasized enough: that's why Python's
documentation at
http://docs.python.org/dev/library/stdtypes.html#mapping-types-dict says:
"Note however, that since computers store floating-point numbers as
approximations it is usually unwise to use them as dictionary keys."
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to