[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: [ANN] Lua 5.2.0 (work5) now available
- From: "Michael Newberry" <mnewberry@...>
- Date: Fri, 5 Nov 2010 08:47:15 -0700
I hope you are NOT saying that our huge investment in scripting using Lua
prevents us from releasing a 64 bit version of our application.
Michael
-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
Behalf Of Luiz Henrique de Figueiredo
Sent: Monday, November 01, 2010 5:09 AM
To: Lua mailing list
Subject: Re: [ANN] Lua 5.2.0 (work5) now available
> > Is a 64-bit version coming?
>
> If you need it, it's probably easy to do it yourself by changing NBITS
> in lbitlib.c and LUA_UNSIGNED in luaconf.h.
I was too fast replying. A 64-bit version of bit32 would have problem
storing its results in a lua_Number, even if lua_Number is double, because
you'll have at most 52+1 bits available. So it'd be bit53 more likely :-)