This is the mail archive of the java-patches@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: 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.


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