[Python-Dev] Memory size overflows
Gerald S. Williams
gsw@agere.com
Sat, 19 Oct 2002 21:55:19 -0400
Tim Peters wrote:
> If you've actually got the energy to time these things <wink>, how about
> adapting the int-mul overflow checking code in Python's intobject.c's
> int_mul() function too?
I'll take a look.
> It could be simplified a little if it were specialized to unsigned mult.
You're simply referring to breaking down the operation into "remove
sign", multiply, and "generate sign" stages, right? I'll definitely
keep it in mind.
-Jerry Williams