Subject: Re: VAX 6400 booting saga: SUCCESS!
To: Johnny Billquist <bqt@update.uu.se>
From: Gunther Schadow <gunther@aurora.regenstrief.org>
List: port-vax
Date: 03/18/2002 15:53:53
Johnny Billquist wrote to der Mouse


>>>I don't think you understand what I'm saying.  When you get a Java
>>>program, it's in bits and bytes, including all the fp numbers already
>>>in ieee format.
>>>
[source code option deleted]


>>But even then, you don't need an "ieee floating point package", just
>>converstion from IEEE to VAX.  (And back, if you want to generate
>>bytecode compatible with IEEE JVMs.)
>>
> Which also is what I said. And storing in ieee is neccesary, or the next
> read will screw you up as well.


So, then what is the problem? You hack the bytecode parser (and all
java.io.DataInput, DataOutput etc.) to convert floats from and to VAX
format. That makes you 100% binary compatible for reading and writing.
The *only* thing that will cause trouble are those rare cases where
a Java program actually messes with the binary format (like the

Float and Double toString and parse routines.) Those need to be

rewritten for the VAX. But it's quite unlikely that many other
software messes with the binary format.

And I would never count on a Java program being floating point
free.

regards
-Gunther



-- 
Gunther Schadow, M.D., Ph.D.                    gschadow@regenstrief.org
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistant Professor        Indiana University School of Medicine
tel:1(317)630-7960                         http://aurora.regenstrief.org