lua-users home
lua-l archive

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


> It is not spelt out in the slides of Roberto's 2012 presentation,
> but it seems obvious that the proposed integer subtype will
> from the point of view of the NaN trick look like a non-number:
> the real 64-bit value will have to be stored elsewhere.

It will not use the NaN trick. (The trick does not work anyway in 64-bit
machines.) The real 64-bit value will be stored in the same 64 bits that
a double (or a pointer) is stored.

-- Roberto