[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Numeric key collision related bug in Lua 5.3
- From: Coda Highland <chighland@...>
- Date: Tue, 21 Apr 2015 13:41:14 -0700
On Tue, Apr 21, 2015 at 1:23 PM, Liam Devine <firstname.lastname@example.org> wrote:
> On 21/04/15 21:04, Andrew Starks wrote:
>> It would add tremendously to my understanding if someone someone would
>> make up a story that includes a user in a real-world scenario hitting
>> this edge case. ...
> Correction to my earlier email a this does not just effect rawequal.
>> a, b = math.maxinteger + 2.1, math.maxinteger + 3.5
>> print(math.type(a), math.type(b))
> float float
>> return a == b
THIS isn't a bug. It's only tangentially related to the behaviors
under discussion. rawequal or not rawequal, this example is working as