lua-users home
lua-l archive

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

Hi all,

I have a very simple question. The default behaviour of Lua when a FP
error is encountered is to not raise any error and set the result to
NaN or Inf.

I found this behaviour quite unconvenient for numerical procedures
when it is better to raise a (Lua) error as soon as the problem

It is possible to easily modify Lua and/or LuaJIT2 for this purpose ?