COHERENT manpages

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

List of available manpages
Index


decvax_d() -- General Function (libc)

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

decvax_d() converts a double from IEEE format to DECVAX format.  idp points
to the IEEE-format double to convert.   ddp points to a destination for the
converted  DECVAX  value;  ddp   may  be  identical  to  idp  for  in-place
conversion.

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