Re: type mismatches...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: type mismatches...
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 1999年7月15日 09:12:33 -0300 (EST)
>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