lua-users home
lua-l archive

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


OK, everybody seem to agree that my idea is a bad one, so let's forget it.
Personally, I never had a problem with floating point inaccuracy in
Lua. In fact, most of of time, my code only use integer values...
My proposition was mainly targeted to Lua beginners!
Steve's idea of a computation module is good, but probably such a
module should not included in the core distribution.
And what about a simple function in math module like:
  math.compare(value1, value2, delta)
returning -1, 0 or 1 ?