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 (Institute of Electrical and Electronic Engineers) 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
Microsoft BASIC (which store floating-point numbers in the Microsoft
binary format), and vice versa.
The arguments src4 or src8 point to the float value to be converted. The
result is stored at the location given by dst4 or dst8.
Return Value
These functions return 0 if the conversion is successful, and 1 if the
conversion causes an overflow.
----- Note -----
These routines do not handle IEEE NANs and infinities. IEEE denormals are
treated as 0 in the conversions.
----------------