[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 64 bit integers
- From: Joseph Stewart <joseph.stewart@...>
- Date: Mon, 1 Jun 2009 13:22:34 -0400
Check this list for Asko's LNUM patch (it's probably in Luaforge too).
It might be exactly what you're looking for.
On Mon, Jun 1, 2009 at 1:17 PM, Martin, Marcus <email@example.com> wrote:
> Ah, yes, you are correct. Unfortunately I need the full 64 bit integer size in Lua. How do I get that?
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Javier Guerra
> Sent: Monday, June 01, 2009 1:07 PM
> To: Lua list
> Subject: Re: 64 bit integers
> On Mon, Jun 1, 2009 at 11:59 AM, Martin, Marcus <firstname.lastname@example.org> 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
> 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