This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Trying to merge java.lang.Float, java.lang.Double with Classpath-- help wanted
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: aph at redhat dot com, java-patches at gcc dot gnu dot org
- Date: Mon, 22 Sep 2003 13:11:54 -0400
- Subject: Re: Trying to merge java.lang.Float, java.lang.Double with Classpath-- help wanted
I pointed out:
> They depend on the bit encoding of doubles and floats. This is not
> specified on the Java Virtual Machine specification;
Andrew Haley said:
>Yes it is; the Java VM requires IEEE-754.
>
>http://java.sun.com/docs/books/vmspec/2nd
Nope. That specifies the behavior of the floating point types, not its
internal implementation. If, for instance, an implementation decided to
implement all of its floats byte-swapped, or with the various bitfields
in a different order, that would be allowable.