
Dec. 3, 2003
5:15 p.m.
On Wednesday 03 December 2003 11:10 am, Guido van Rossum wrote:
So the question is, does long have operations that int doesn't have? And if so, why can't those operations be added to int? And if there's a reason, is it good enough?
Taking into account their difference in representation, a long can support 1<<32, but an int can't. I'm not saying that the "proper" (long) behavior can't be unified into a single type, just giving an example of an operation long supports but int doesn't. Jeremy