On Wed, Dec 1, 2010 at 21:54, Sam Roberts
<vieuxtech@gmail.com> wrote:
2010/12/1 Pierre-Yves Gérardy <pygy79@gmail.com>:
Floating point behaviour is common to most programming languages, what
does this have to do with lua?
That's true. However, the question is asked often on the list, which warrants a FAQ entry, by definition.
I joind the list in February of this year, and I've found 4 occurrences of newbie questions related to floating point arithmetics.
"Floating Point inaccuracies"
"math.floor and rounding"
"Why do some math functions return -0"
"not all numbers are treated the same way"
Cheers,
--Pierre-Yves