.TH decvax_d() "" "" "General Function (libc)"
.PC "Convert a double from IEEE to DECVAX format"
\fBint\fR
\fBdecvax_d(\fIddp\fB, \fIidp\^\fB)\fR
\fBdouble *\fIddp\fB\^, *\fIidp\^\fB;\fR
.PP
.II "double^convert from IEEE to DECVAX format"
.B decvax_d()
converts a
.B double
from IEEE format to DECVAX format.
.I idp
points to the IEEE-format
.B double
to convert.
.I ddp
points to a destination for the converted DECVAX value;
.I ddp
may be identical to
.I idp
for in-place conversion.
.PP
.B decvax_d()
returns zero on success, \-1 on underflow, or one on overflow.
.PP
For a description of the IEEE and DECVAX formats for floating-point numbers,
see the Lexicon article for
.BR float .
.SH "See Also"
.Xr "decvax_f()," decvax_f
.Xr "float," float
.Xr "ieee_d()," ieee_d
.Xr "ieee_f()," ieee_f
.Xr "libc," libc
