Article View: comp.os.msdos.programmer
Article #517IEEE<-->VMS Number Conversions
From: Jeff Horn
Date: Fri, 24 Jul 1992 18:34
Date: Fri, 24 Jul 1992 18:34
27 lines
1582 bytes
1582 bytes
Hello Everyone, I am looking for the source of a converter to change machine dependent number formats to IEEE (PC format). I am mainly interested in changing double formats on VAX systems to double format on IEEE systems. Most of the doubles that I deal with on the VAX side of things are saved in the D_floating format. This gives an 8 bit exponent. On the IEEE side the doubles need to have an 11 bit exponent. I know that between Sun4 and the PC (I'm using a 386 based chip) the only difference is the byte ordering is completely backwards. However, it is not that easy on the VAX. I know about the different biases on the exponents, but am having a heck of a time getting anything to work right. HELP!! If anyone has any code or knows of a book or reference to get, it would sure be appreciated. You can email me at jefhor@auto-trol.com or jeffh@uokmax.ecn.uoknor.edu or just repost to the group. I try to read news every other day or so. Thanks. Jeff -- ------------------------------------------------------------- Jeff Horn jefhor@auto-trol.com jeffh@uokmax.ecn.uoknor.edu
Technical Details
Message-ID:
<1992Jul24.183423.11833@auto-trol.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ncar!ico!auto-trol!jefhorShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ncar!ico!auto-trol!jefhor From: jefhor@auto-trol.com (Jeff Horn) Subject: IEEE<-->VMS Number Conversions Message-ID: <1992Jul24.183423.11833@auto-trol.com> Originator: jefhor@birtys Sender: news@auto-trol.com Nntp-Posting-Host: birtys.auto-trol.com Organization: Auto-trol Technology Corporation Date: Fri, 24 Jul 1992 18:34:23 GMT Lines: 27