home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / msdos / 899 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.5 KB  |  40 lines

  1. Newsgroups: comp.unix.msdos
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!destroyer!ncar!ico!auto-trol!jefhor
  3. From: jefhor@auto-trol.com (Jeff Horn)
  4. Subject: IEEE<-->VMS Number Conversions
  5. Message-ID: <1992Jul24.183509.11891@auto-trol.com>
  6. Originator: jefhor@birtys
  7. Sender: news@auto-trol.com
  8. Nntp-Posting-Host: birtys.auto-trol.com
  9. Organization: Auto-trol Technology Corporation
  10. Date: Fri, 24 Jul 1992 18:35:09 GMT
  11. Lines: 27
  12.  
  13. Hello Everyone,
  14.     I am looking for the source of a converter to change machine 
  15. dependent number formats to IEEE (PC format).  I am mainly interested
  16. in changing double formats on VAX systems to double format on IEEE
  17. systems.  Most of the doubles that I deal with on the VAX side of things
  18. are saved in the D_floating format.  This gives an 8 bit exponent.  On
  19. the IEEE side the doubles need to have an 11 bit exponent.  I know that
  20. between Sun4 and the PC (I'm using a 386 based chip) the only difference
  21. is the byte ordering is completely backwards.  However, it is not that
  22. easy on the VAX.  I know about the different biases on the exponents, but
  23. am having a heck of a time getting anything to work right.  HELP!!
  24.  
  25.     If anyone has any code or knows of a book or reference to get, it
  26. would sure be appreciated.
  27.  
  28.     You can email me at jefhor@auto-trol.com or 
  29.                  jeffh@uokmax.ecn.uoknor.edu
  30. or just repost to the group.  I try to read news every other day or so.
  31.  
  32.     Thanks.
  33.  
  34. Jeff 
  35. -- 
  36. -------------------------------------------------------------
  37. Jeff Horn
  38. jefhor@auto-trol.com
  39. jeffh@uokmax.ecn.uoknor.edu
  40.