lua-users home
lua-l archive

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


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...

Ivan