lua-users home
lua-l archive

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

On 2 October 2010 15:58, Leo Razoumov <> wrote:
On 2010-09-28, Nilson <> wrote:
> Hi everyone,
>  Someone knows if Lua can be or was used in a platform where the ***
>  int type  *** has less than 16 bits or is not a 8 bits multiple?

Can you, please,  give an example of a currently produced platform
with the int type being not a multiple of 8 bits.


I  would like to know how a system which has an int of less than 16 bits stores values as it is required (C99) to be able to store  -32767 and IIRC is required to use one or two's complement storage.