lua-users home
lua-l archive

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



On Dec 21, 2004, at 04:39, Brett Bibby wrote:
Also, we have denormal
trouble on the PC when using Lua and DirectX together. Each time a new Lua
is released we spend at least a full day fixing all the warnings.


Isn't this a Windows problem rather than a Lua problem? The problem being that various libraries secretly like to change the Floating Point Control register and don't always change it back. You know the kind of thing, you call a DirectX function which calls some dodgy "high performance" graphics driver and now all of your NaNs are signalling and the floating point exceptions are of the non-useful kind. Or your rounding mode has changed.

David Jones