lua-users home
lua-l archive

Re: how to use lua with integers?

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


You have to much around in the Lua headers, and change some defines -
you won't be able to use pre-packaged Lua libraries on the host
machines.
The size will depend on the architecture you are on. 32-bit processors
gives you 32-bit numbers. (I think, haven't played much with that,
actually.)
On Sun, 2002年03月31日 at 06:47, Cor wrote:
> Hello Lua people,
> 
> I'm considering using Lua to control an embedded application.
> The problem is that I need exact numbers, no floating points.
> If I remember correctly it must be possible that all numbers in Lua
> are integers instead of floats. But I can not find any information
> about it.
> How can I do that.
> And are those numbers signed 32 bits? 
> Is 64 bits possible too?
> 
> Thanks, Cor.
> 

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