emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling Elisp to a native code with a GCC plugin


From: Andreas Schwab
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 17:10:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Andreas Schwab <address@hidden> writes:
>
>>> Don't the Lisp integers use a bit for the type tag?
>>
>> most-positive-fixnum is a variable defined in `data.c'.
>> Its value is 2305843009213693951
>
> And by that you mean "yes" or "no"?
>
> (format "%x" most-positive-fixnum)
> => "1fffffffffffffff"
>
> That's at least a few bits less than MAX_INT, isn't it?

$ printf '#include <limits.h>\nINT_MAX\n' | gcc -E -xc - | tail -n1
2147483647

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]