[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: FPE with using >INT_MAX numbers in Lua
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 30 Apr 2010 11:56:12 -0300
> I sent the following email to team@lua.org on July 09 but didnt get a response from them.
We never got that message, sorry.
> If in one's C code, SIGFPEs are enabled for invalid floating point operations (with fpsetmask(FP_X_INV) or feenableexcept(FE_INVALID) or
[...]
> perhaps Lua needs to set those exceptions off when it begins parsing
> and revert their state when it finishes parsing.
Lua uses C89 and so has no access to C99 floating point exception handling.
Perhaps you can disable exceptions before calling Lua.