Squelch HOST_FLOAT_WORDS_BIG_ENDIAN
Richard Henderson
rth@redhat.com
Thu Mar 13 19:15:00 GMT 2003
On Thu, Mar 13, 2003 at 10:55:30AM -0800, Zack Weinberg wrote:
> float qnan = __builtin_nanf(0);
0 is not a valid argument. "0" is.
> Incidentally, why is the argument to __builtin_nan a string constant?
Becuase that's how the nan(3) function works.
> (And the syntax that I would have chosen for this is something like
>
> 0x1.0p+INF
> 0x1.xxxxxxp+NAN (QNAN, SNAN)
>
> which would require less fragile special-casing of builtin functions, etc.)
Doesn't that run afoul of p-numbers etc?
r~
More information about the Java
mailing list