[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Digest, Vol 90, Issue 6
- From: Ivan Baggett <ibaggett@...>
- Date: Wed, 20 Feb 2008 15:07:32 -0500
I expect it depends on the processor you're talking about. Floating
point arithmetic on modern processors is often _very_ fast...
Well, it isn't fast if your CPU doesn't have a FPU. I use ARM7 and
real-mode X86 processors in embedded systems, and I know for a fact that
FP is not fast on them. It would be nice to have configuration options
for Lua that would allow for integers to be treated as integers unless
explictly forced to double.
Not all of us are using Core 2 Duos in our designs...