lua-users home
lua-l archive

Re: problem with string.format %d and very large integers

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


> I'd like to see this solved with defines in a config, with something like
> 
> #define LUA_STRFORMAT_FLOATINGINT sizeof(int) < sizeof(lua_Number)
> #if LUA_STRFORMAT_FLOATINGINT
That cannot work because sizeof is not evaluated at preprocessing time.

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