.TH decvax_f() "" "" "General Function (libc)"
.PC "Convert a float from IEEE to DECVAX format"
\fBint\fR
\fBdecvax_f(\fIdfp\fB\^, \fIifp\fB\^)\fR
\fBfloat *\fIdfp\fB\^, *\fIifp\fB\^;\fR
.PP
.II "float^convert from IEEE to DECVAX format"
.B decvax_f()
converts a
.B float
from IEEE format to DECVAX format.
.I ifp
points to the IEEE-format
.B float
to convert.
.I dfp
points to a destination for the converted DECVAX value;
.I dfp
may be identical to
.I ifp
for in-place conversion.
.PP
.B decvax_f()
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_d()," decvax_d
.Xr "float," float
.Xr "ieee_d()," ieee_d
.Xr "ieee_f()," ieee_f
.Xr "libc" libc
