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: Andrew Haley <aph at redhat dot com>
- To: neroden at twcny dot rr dot com (Nathanael Nerode)
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 22 Sep 2003 09:37:15 +0100
- Subject: Re: Trying to merge java.lang.Float, java.lang.Double with Classpath -- help wanted
- References: <20030922002705.GA30644@twcny.rr.com>
Nathanael Nerode writes:
> >They are only GCJ-specific because they use CNI. There is nothing that
> >is specific to any given VM implementation, ie a JNI implementation in
> >classpath should work anywhere.
>
> They depend on the bit encoding of doubles and floats. This is not
> specified on the Java Virtual Machine specification;
Yes it is; the Java VM requires IEEE-754.
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#33377
Andrew.