home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / cray / 311 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.5 KB

  1. Xref: sparky comp.unix.cray:311 comp.sys.misc:973 comp.sys.sgi:16573
  2. Newsgroups: comp.unix.cray,comp.sys.misc,comp.sys.sgi
  3. Path: 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
  4. From: dnl@convex.is.macsch.com (David Lombard)
  5. Subject: Re: Cray to IEEE, IEEE to Cray
  6. Message-ID: <1992Nov17.233222.26999@draco.macsch.com>
  7. Keywords: ieee unformatted Cray SGI Sun
  8. Sender: usenet@draco.macsch.com (Usenet Poster)
  9. Organization: MacNeal-Schwendler Corp.
  10. References: <haberman.722017708@msi.umn.edu>
  11. Date: Tue, 17 Nov 92 23:32:22 GMT
  12. Lines: 22
  13.  
  14. In article <haberman.722017708@msi.umn.edu> haberman@s23.msi.umn.edu (Joe Habermann) writes:
  15. >Is there a tool for converting a file containing unformatted 64-bit 
  16. >Cray floating point numbers into 32-bit IEEE floats and vice versa?
  17. >
  18. >I see that Unicos has a few routines for doing this (IEG2CRAY and
  19. >CRAY2IEG) but I want the code so that I can compile it for various 
  20. >machines.   
  21.  
  22. The intent is that the Cray handles the conversions to/from other
  23. numerical/character formats.  If you're programming in Fortran, you
  24. can do the conversions on-the-fly using normal READ and WRITE statements,
  25. see (man assign).
  26.  
  27. Regards,
  28. DNL
  29.  
  30.                  MY_COMMENTS = MY_OPINIONS = NOBODY_ELSES;
  31.  
  32. David N. Lombard    The first thing we do,         The MacNeal-Schwendler Corp
  33. dnl@macsch.com      Let's kill all the lawyers.    815 Colorado Blvd
  34. (213) 259-4911      II Henry VI, IV.ii             Los Angeles, CA  90041
  35.  
  36.