lua-users home
lua-l archive

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


Well, if you want to perform arithmetic operation too it might be
disturbing if you manipulate? And you have to understand the double
representation to manipulate its bits...
I was more trying to stick to current NUMBER scheme if a large number of
people are happy with it. 


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Klaus Ripke
Sent: Monday, June 19, 2006 12:29 PM
To: Lua list
Subject: Re: Bitwsie operators in Lua

On Mon, Jun 19, 2006 at 12:16:39PM +0200, Grellier, Thierry wrote:
> But I really need both: I'm doing statistics (ie double preferred) on
> address manipulations (ie int with bitwise operation).
I don't see why storing numbers as doubles inhibits bitwise ops
defined as using an intermediate long long.