not-a-number's
Andreas Schwab
schwab@suse.de
Wed Jan 16 09:06:00 GMT 2013
Mischa Baars <mjbaars1977@gmail.com> writes:
> This means that the first 'if' statement should have been terminated when
There is no such thing as a "terminated statement". The first condition
evaluates to true.
> Furthermore, the manual states that any operation on a QNaN should return
> a QNaN.
That is only true for arithmethic operations. A comparison always
evaluates to true or false.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Gcc
mailing list