lua-users home
lua-l archive

Re: Re: Lua with ints and floats

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


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

AltStyle によって変換されたページ (->オリジナル) /