From: mats@royac1.astro.su.se (mats)
Subject: Reading / Converting IEEE floating point data
Date: 17 Aug 1994 12:23:37 GMT [thread overview]
Message-ID: <MATS.94Aug17142337@royac1.astro.su.se> (raw)
Question:
Is there a filter that reads IEEE floating point data files and
outputs in a format suited for use on a DEC Alpha OSF1? There are no
headers in the files, just the numerical data.
Background:
I'm trying to read some image data into my image processing software
on a DEC Alpha OSF1.
For testing purposes, I have three files with the same image in
unsigned-byte format, signed-word format and 4-byte IEEE float. The
data files are generated by some of my colleagues with what I am told is
"Sun numerical representation conventions".
I can read all the files. The byte data looks like expected. If I swap
the bytes in the signed-word data, these look fine, too. I don't know
what to do with the floating point data, though.
I would really appreciate it if anyone could solve this problem for
me.
/Mats
--------------------------------------------------------------------------
Mats L�fdahl Internet: Mats@Astro.su.se
Stockholm Observatory MLofdahl@Solar.Stanford.edu
S-133 36 Saltsj�baden Voice: +46 - 8 16 44 75
Sweden Fax: +46 - 8 717 47 19
--------------------------------------------------------------------------
next reply other threads:[~1994-08-17 12:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-17 12:23 mats [this message]
1994-08-17 14:13 ` Reading / Converting IEEE floating point data mats
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox