🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.cray
Article #262

Re: Cray to IEEE, IEEE to Cray

#262
From: David Lombard
Date: Tue, 17 Nov 1992 23:32
21 lines
1501 bytes
In article <haberman.722017708@msi.umn.edu> haberman@s23.msi.umn.edu (Joe Habermann) writes:
>Is there a tool for converting a file containing unformatted 64-bit 
>Cray floating point numbers into 32-bit IEEE floats and vice versa?
>
>I see that Unicos has a few routines for doing this (IEG2CRAY and
>CRAY2IEG) but I want the code so that I can compile it for various 
>machines.   

The intent is that the Cray handles the conversions to/from other
numerical/character formats.  If you're programming in Fortran, you
can do the conversions on-the-fly using normal READ and WRITE statements,
see (man assign).

Regards,
DNL

                 MY_COMMENTS = MY_OPINIONS = NOBODY_ELSES;

David N. Lombard    The first thing we do,         The MacNeal-Schwendler Corp
dnl@macsch.com      Let's kill all the lawyers.    815 Colorado Blvd
(213) 259-4911      II Henry VI, IV.ii             Los Angeles, CA  90041
Technical Details
Message-ID: <1992Nov17.233222.26999@draco.macsch.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!draco.macsch.com!convex.is.macsch.com!dnl
References: <haberman.722017708@msi.umn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.cray,comp.sys.misc,comp.sys.sgi
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!draco.macsch.com!convex.is.macsch.com!dnl
From: dnl@convex.is.macsch.com (David Lombard)
Subject: Re: Cray to IEEE, IEEE to Cray
Message-ID: <1992Nov17.233222.26999@draco.macsch.com>
Keywords: ieee unformatted Cray SGI Sun
Sender: usenet@draco.macsch.com (Usenet Poster)
Organization: MacNeal-Schwendler Corp.
References: <haberman.722017708@msi.umn.edu>
Date: Tue, 17 Nov 92 23:32:22 GMT
Lines: 22