lua-users home
lua-l archive

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


>From lua-l@tecgraf.puc-rio.br Thu Jul 15 01:48:10 1999
>From: Adam Wozniak <adam@mudlist.eorbit.net>

>Even if you define LUA_NUM_TYPE to be 'long'?
>
>Leaving it as 'double' forces a number of unnecessary long->double->long
>conversions.  The whole point of using 'long' is to get away from floating
>point operations on an embedded processor which has no floating point unit.

In this case, yes, you should probably change lua.h and use long instead of
double.
--lhf