lua-users home
lua-l archive

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

>> This appears a few times in Lua sources. 
>> But its per definition 1.
>And every C compiler in the world will optimise it as such at compile
>time.  Just like expressions like strlen("a literal string") are
>optimised during compile time.

I know.  But when seeing this I always get suspicious if the original author really wanted to write CHAR_BIT/8.