[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Macros for setting / testing / getting value components in lobject.h
- From: Dibyendu Majumdar <mobile@...>
- Date: Mon, 8 Jun 2015 23:07:48 +0100
On 8 June 2015 at 23:00, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>> > There should not be hidden assumptions. BTW, Lua 5.2 has the NaN trick
>> > implemented (on top of these macros).
>>
>> Cool, did not see that. Why was it removed in 5.3?
>
> It does not work for 64-bit integers, 64-bit machines, or 32-bit
> machines using Small Lua (with single-precision floats).
>
My implementation is on 64-bit machine with 64-bit integers - so it
can work on 64-bit. I guess the 5.2 version did not work on Small Lua
either?
Regards