[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Making Lua BitOp work with LNUM patch
- From: Justin Cormack <justin@...>
- Date: Fri, 8 Nov 2013 13:08:15 +0000
On Fri, Nov 8, 2013 at 12:20 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> Hmm, LNUM basically (a bit like to Lua 5.3 experimental release)
>> transparently switches number types between different representations
>> when they overflow, [...]
>
> A little off topic here, but Lua 5.3 does not switch number types when
> they overflow. The type of each operation (and result) depends only on
> the types of its operands.
My use of the word "bit" was supposed to indicate that they were not
that similar!
Justin