From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,a6ccf70f515c5eed,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-17 05:26:23 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!EU.net!sunic!news.kth.se!news.kth.se!mats From: mats@royac1.astro.su.se (mats) Newsgroups: comp.unix.osf.osf1 Subject: Reading / Converting IEEE floating point data Date: 17 Aug 1994 12:23:37 GMT Organization: Stockholm Observatory, Stockholm, Sweden Distribution: world Message-ID: Reply-To: Mats L�fdahl NNTP-Posting-Host: royac1.astro.su.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --------------------------------------------------------------------------