This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Squelch HOST_FLOAT_WORDS_BIG_ENDIAN
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Wed, 12 Mar 2003 17:27:18 -0800
- Subject: Re: Squelch HOST_FLOAT_WORDS_BIG_ENDIAN
- References: <87zno1t0gj.fsf@egil.codesourcery.com>
On Wed, Mar 12, 2003 at 01:10:04AM -0800, Zack Weinberg wrote:
> + /* C99 doesn't allow use of hexadecimal floating constants
> + to represent infinities and NaN. Bleh. */
> if (! java_float_finite (fnum))
C99 doesn't, but GCC does. See __builtin_inf & __builtin_nan.
These builtins are intended to be usable anywhere regular fp
constants are. If that isn't the case, we have a bug.
r~