Integer multiplication overflow.
Aahz Maruch
aahz at panix.com
Sun Oct 8 10:40:08 EDT 2000
In article <8rphoh129t3 at news1.newsguy.com>,
Alex Martelli <aleaxit at yahoo.com> wrote:
>
>Python undecorated integers are fixnums (in scheme/lisp/fp terms) --
>32-bit signed fixnums (that's somewhat larger than a typical lisp's
^^^^^^
>implementation fixnums, a range of about +/- 2 billions).
Wrong. They're whatever the platform int gives you, which will be
64-bit in many cases -- and more all the time.
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"[I have a] windmill fetish." --Darkhawk
More information about the Python-list
mailing list