A use for integer quotients
Erik Max Francis
max at alcyone.com
Mon Jul 23 11:54:08 EDT 2001
Just van Rossum wrote:
> Do you really want 2047 bytes to be shown as 1 kbyte? Integer division
> is a lousy tool in this particular example...
Just add 512 to it first.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ Laughter is the only genuine form of applause.
\__/ Camden Benares
Kepler's laws / http://www.alcyone.com/max/physics/kepler/
A proof of Kepler's laws.
More information about the Python-list
mailing list