lua-users home
lua-l archive

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

On Mon, Jun 1, 2009 at 11:59 AM, Martin, Marcus <> wrote:
> How do I use 64 bit integers in Lua? By default on my system (VS 2005,
> WinXP) I get 32 bit integers. Do I need to recompile the entire library with
> 64 bit support? That would make all integers 64 bit right? Is there a mixed
> mode?

by default you don't get integers, the 'Number' type is a double (64
bit, IIRC).  it has enough precision to express 52 bit integers