lua-users home
lua-l archive

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


On Sat, Aug 10, 2013 at 12:48 AM, Enrico Colombini <erix@erix.it> wrote:
> On 10/08/2013 0.47, Coda Highland wrote:
>>
>> Ah, whoops, yeah, you're right, I got sloppy there. Really that ought
>> to be epsilon*math.max(lhs,rhs) even.
>
>
> Do you mean epsilon*math.max(math.abs(lhs),math.abs(rhs)) ?
>
> --
>   Enrico
>

No, but you have a good point that it should be math.abs(epsilon*rhs).

/s/ Adam