This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Squelch HOST_FLOAT_WORDS_BIG_ENDIAN


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]