COHERENT manpages

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

List of available manpages
Index


ieee_d() -- General Function (libc)

Convert a double from DECVAX to IEEE format
int
ieee_d(idp, ddp)
double *idp, *ddp;

ieee_d() converts  a double from DECVAX format to  IEEE format.  ddp points
to a DECVAX-format double to convert.   idp points to a destination for the
converted IEEE value.  idp may be identical to ddp for in-place conversion.
The DECVAX significand is truncated, not rounded.

ieee_d() 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_f(),
libc