Operating System - HP-UX
1833777 Members
2020 Online
110063 Solutions
New Discussion

data conversion cray to IEEE

 
Ing Meloni
Advisor

data conversion cray to IEEE

One of my users presented me this problem: he runs on our HP-UX N servers a quantum physics
application that produces output in a binary 128-bit Cray format. To analyze and further work on the produced data he needs to convert them to a IEEE format. Online I found some conversion libraries, but they only support up to 64-bit data. Any hint or suggestion?
Obviously the user has no permission to modify the original code.
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: data conversion cray to IEEE

Is the output (to cray) numbers, like integers or floating point?

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: data conversion cray to IEEE

Take a look at:

http://www.cs.berkeley.edu/~jhauser/arithmetic/softfloat.html

or even better:

Routines to Convert Data Between IEEE 32-bit and Cray 64-bit Formats

http://sdcd.gsfc.nasa.gov/NCCS/info/cray/prog/ieee.html

live free or die
harry
Live Free or Die