[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Documenting Lua gotchas for newbies.
- From: David Kastrup <dak@...>
- Date: Thu, 02 Dec 2010 10:20:55 +0100
Pierre-Yves Gérardy <pygy79@gmail.com> writes:
> Following the floating point discussion, I tried to look for a
> compilation of the various gotchas Lua beginners encounter, but I
> couldn't find one, so I decided to compile one...
>
>
> Right now, I can think of two of them:
>
> - Floating point inaccuracies. A simplified version of Patrick Rapin's
> "math.compare (x,y,delta)" [1] could be proposed as a workaround.
That's not a Lua gotcha, but a computer gotcha.
--
David Kastrup