lua-users home
lua-l archive

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



I've been revising the LNUM patch (more of that later) and spend several hours today trying to understand what exactly -ffast-math does with regard to NaN's (not-a-numbers).

Basically, it does not seem to know them. It gives nan==nan and other no-can-dos that I regard as Completely Evil as to Lua compatibility.

What I'd ask the list is:

- are you using '-ffast-math' with Lua and gcc?
- have you noticed the inconsistent behaviour of NaN's?
- does it matter to you?

Greetings,   -asko