Originally python evaluated
5 / 2 = 2
5.0 / 2.0 = 2.5
It's hard to write and read generic code with such semantics.
It's easier when
a // b always truncates and
a / b never truncates
Kari
-----Original Message-----
From: activepython-admin@[...].com
By the way whats wrong with 5/2 = 2 ?
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython