[Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs (original) (raw)
Gisle Aas gisle at ActiveState.com
Thu Dec 4 13:40:16 EST 2003
- Previous message: [Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs
- Next message: [Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Andrew Koenig" <ark-mlist at att.net> writes:
An int is a 31-bit integer, INCLUDING sign. One extra bit indicates whether the integer is really a number or, alternatively, a pointer to the rest of the representation.
This is exactly how it's done in Ruby as well. Search for FIXNUM in http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ruby.h?rev=1.95&content-type=text/x-cvsweb-markup
Regards, Gisle
- Previous message: [Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs
- Next message: [Python-Dev] Re: Re: Int FutureWarnings and other 2.4 TODOs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]