msbin2ie.c - MicroSoft BINary float 2 IEee float conversion routines
MicroSoft basic BINary float format 2 IEee float conversion routines
The following are implementations of the Microsoft RTL functions
that Borland has never had and that recently Microsoft dropped from
their RTL. This code originated from Borlands BBS in 93 and was cleaned
up by TDF.
These functions convert back and forth from Microsoft binary format
to IEEE floating point format.
As with the Microsoft RTL functions,
m3 m2 m1 exponent
Function
|
fmsbintoieee
|
Include file
|
MSBIN2IE.H
|
Prototype
|
int fmsbintoieee( float *src , float *dest )
|
Remarks
|
Convert a 4 byte Microsoft binary to a IEEE 4 byte float.
|
Function
|
fieeetomsbin
|
Include file
|
MSBIN2IE.H
|
Prototype
|
int fieeetomsbin( float *src , float *dest )
|
Remarks
|
Convert a IEEE 4 byte float to a 4 byte Microsoft binary.
|
Table of Contents
Function Index
generated on 22 September 1998 - 12:55:14
© 1998 Tierra del Fuego Ltd.
|