lua-users home
lua-l archive

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

> Sure.  But the optimal round-to-even strategy is non-trivial to
> implement in a system-independent manner and/or in a high level
> language.  But it is part of IEEE standards.  So it is rather cheap to

Lua is based on C89, which does not have IEEE-compatible math functions.
When (and if) Lua moves to C99, the math library will include those.

On the other hand, I did write an extension of the math library that
containe those functions. I'll dig it up if there's any interest.