[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Bitwsie operators in Lua
- From: "Grellier, Thierry" <t-grellier@...>
- Date: Mon, 19 Jun 2006 14:04:55 +0200
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.
[mailto:firstname.lastname@example.org] 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.