lua-users home
lua-l archive

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


shouldn't  %u works for 2^31?

> On 32-bit platforms Lua-5.1.x incorrectly formats integers that are
> larger or equal to 2^31. For instance,
>
> ("%d"):format(2^31) --> -2147483648
>