.TH ieee_d() "" "" "General Function (libc)"
.PC "Convert a double from DECVAX to IEEE format"
.B int
\fBieee_d(\fIidp\fB\^, \fIddp\fB\^)\fR
\fBdouble *\fIidp\fB\^, *\fIddp\fB\^;\fR
.PP
.II "double^convert from DECVAX to IEEE format"
.B ieee_d()
converts a
.B double
from DECVAX format to IEEE format.
.I ddp
points to a DECVAX-format
.B double
to convert.
.I idp
points to a destination for the converted IEEE value.
.I idp
may be identical to
.I ddp
for in-place conversion.
The DECVAX significand is truncated, not rounded.
.PP
.B ieee_d()
always returns zero, because the conversion always succeeds.
.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_d()," decvax_d
.Xr "decvax_f()," decvax_f
.Xr "float," float
.Xr "ieee_f()," ieee_f
.Xr "libc" libc
