COHERENT manpages

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

List of available manpages
Index


decvax_f() -- General Function (libc)

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

decvax_f() converts a float from  IEEE format to DECVAX format.  ifp points
to the IEEE-format  float to convert.  dfp points to  a destination for the
converted  DECVAX  value;  dfp   may  be  identical  to  ifp  for  in-place
conversion.

decvax_f() returns zero on success, -1 on underflow, or one on overflow.

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

See Also

decvax_d(),
float,
ieee_d(),
ieee_f(),
libc