[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: formatting long integers
- From: Pan Shi Zhu <pan.shizhu@...>
- Date: Wed, 17 Mar 2010 10:25:40 +0800
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
>