Modulus (was: The REALLY bad thing about Python lists)

Russell Turpin noone at do.not.use
Tue May 23 19:06:09 CEST 2000


Russell Wallace wrote:
> Under what circumstances would you want to use % on 
> negative numbers?

I'm not sure that I will ever want to use * on any 
number over 10E20, but on general principle, I think 
arithmetic operators should be defined on the entire 
range of represented numbers for which the operator
makes mathematical sense.

Russell



More information about the Python-list mailing list