[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Has anyone noticed -ffast-math (gcc) fights against NaN's?
- From: Asko Kauppi <askok@...>
- Date: Tue, 7 Apr 2009 22:15:11 +0300
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