lua-users home
lua-l archive

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


On Fri, Apr 2, 2021 at 1:51 AM Phil Leblanc wrote:
I would like to build Lua 5.3+ with only support for Integer numbers

Is it a 1-April question?
Sorry, I'm answering from another timezone, your letter has arrived on April 2nd :-)

It's not clear, what would be the difference between Lua 5.3 and "integers-only Lua 5.3"?

Even if FP are emulated in software on your system, the C compiler does have FP datatype anyway.
So, just avoid using FP literals/operators/functions in Lua scripts if FP operations are CPU-intensive.

Or your main goal is to warn a user by generating a compile time error?