COHERENT manpages

This page displays the COHERENT manpage for ieee_f() [Convert a float from DECVAX to IEEE format].

List of available manpages
Index


ieee_f() -- General Function (libc)

Convert a float from DECVAX to IEEE format
int
ieee_f(ifp, dfp)
float *ifp, *dfp;

ieee_f() converts a float from DECVAX format to IEEE format.  dfp points to
a  DECVAX-format float  to convert.   ifp points to  a destination  for the
converted IEEE value.  ifp may be identical to dfp for in-place conversion.
The DECVAX significand is truncated, not rounded.

ieee_f() always returns zero, because the conversion always succeeds.

For  a  description  of the  IEEE  and  DECVAX  formats for  floating-point
numbers, see the Lexicon article for float.

See Also

decvax_d(),
decvax_f(),
float,
ieee_d(),
libc