Posted 02 January 2013 - 02:27 AM
Hi everybody. I didn't want to post this in the bug section straight away because it's always more likely that I'm missing something here. :)/> It's best to think this through with a couple of people first.
So, when using 'string.format' with '%u', you'd expect a number to be formatted as an unsigned integer, as documented here, but this is what I get while using it:
Anyone has thoughts on this? I suppose that if this is indeed a bug, it would be in LuaJ.
So, when using 'string.format' with '%u', you'd expect a number to be formatted as an unsigned integer, as documented here, but this is what I get while using it:
lua> string.format("%d, %i, %u", -100,-100,-100)
-100, -100, -100
Expected output would be:
-100, -100, 4294967196
Anyone has thoughts on this? I suppose that if this is indeed a bug, it would be in LuaJ.