[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Lua with ints and floats
- From: "Nick Trout" <nick@...>
- Date: Mon, 10 Jul 2000 14:46:22 +0100
float x = 5.f;
x *= 2.f; // <<1
x /= 2.f; // >>1
Would be quickest!
----- Original Message -----
From: Martin_Doering@mn.man.de
To: Multiple recipients of list
Sent: Monday, July 10, 2000 2:02 PM
Subject: Re: Re: Lua with ints and floats
How do you shift with floats??? Do you convert them to ints, shift, and
convert them back?
Martin