This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Java floating-point mess
- From: Tom Tromey <tromey at redhat dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: aph at cambridge dot redhat dot com, zack at codesourcery dot com, gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: 08 Apr 2002 08:50:42 -0600
- Subject: Re: Java floating-point mess
- References: <20020405142004.2A101F28D5@nile.gnat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Robert" == Robert Dewar <dewar@gnat.com> writes:
Andrew> The only issue here is that we won't be able to cross-compile
Andrew> Java on a VAX or somesuch, isn't it? Or am I missing
Andrew> something here?
Robert> That sounds right provided that the front end is not trying to
Robert> use host floating-point arithmetic to precompute expressions
Robert> (IEEE is not nearly enough of an absolute standard for this to
Robert> give the right results in all cases).
The front end is required to do these computations in some contexts,
namely compile-time constants. This is a concern to us, but it isn't
immediately pressing. We already violate the spec with respect to
compile-time constants in several ways.
Tom