C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
IEEE to Microsoft Binary Functions
 ◄Summary► ◄Example►                         ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _dieeetomsbin routine converts a double-precision number in
     IEEE (Institute of Electrical and Electronic Engineers) format to
     Microsoft binary format. The _dmsbintoieee routine converts a
     double-precision number in Microsoft binary format to IEEE format.
 
     The _fieeetomsbin routine converts a single-precision floating-
     point number in IEEE format to Microsoft binary format. The
     _fmsbintoieee routine converts a floating-point number in
     Microsoft binary format to IEEE format.
 
     These routines allow C programs (which store floating-point
     numbers in the IEEE format) to use numeric data in random-access
     data files created with those versions of Microsoft Basic that
     store floating-point numbers in the Microsoft binary format, and
     vice versa.
 
     The <src4> or <src8> arguments point to the float value to be
     converted. The result is stored at the location given by <dst4> or
     <dst8>.
 
     These routines do not handle IEEE NANs ("not a number") and
     infinities. IEEE denormals are treated as 0 in the conversions.
 
     Return Value
 
     These functions return 0 if the conversion is successful, or 1 if
     the conversion causes an overflow.
                                    -♦-