Trying to merge java.lang.Float, java.lang.Double with Classpath -- help wanted

Nathanael Nerode neroden@twcny.rr.com
Mon Sep 22 18:28:00 GMT 2003


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.



More information about the Java-patches mailing list