lua-users home
lua-l archive

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


maybe depending on compiler and cpu-bitsize selected.

But in 32 bit compilers (e. g. for Cortex M4 arm), or I am quite sure
also older PC compilers, long is clearly 32bit.

Concerning Win-64bit:

Windows: long and int remain 32-bit in length, and special new data
types are defined for 64-bit integers.

(from http://www.intel.com/cd/ids/developer/asmo-na/eng/197664.htm?page=2)
(I did not check this - but I copied it from stackoverflow.com).