[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Integer subtype and NaN trick
- From: Coda Highland <chighland@...>
- Date: Sat, 15 Jun 2013 21:23:08 -0700
On Sat, Jun 15, 2013 at 6:11 PM, Miles Bader <email@example.com> wrote:
> Roberto Ierusalimschy <firstname.lastname@example.org> writes:
>> It will not use the NaN trick. (The trick does not work anyway in 64-bit
> I think the NaN trick *could* work in 64-bit machines...
The problem is that on modern OSes, you can't assume that you can fit
a 64-bit pointer in 48 bits. This is (part of) why LuaJIT demands to
use the low 2GB.