V8/usr/man/man3/frexp.3
.TH FREXP 3
.SH NAME
frexp, ldexp, modf \- split into mantissa and exponent
.SH SYNOPSIS
.nf
.B double frexp(value, eptr)
.B double value;
.B int *eptr;
.PP
.B double ldexp(value, exp)
.B double value;
.PP
.B double modf(value, iptr)
.B double value, *iptr;
.SH DESCRIPTION
.I Frexp
returns the mantissa of
.I value
and stores the exponent indirectly through
.I eptr,
so that
.I value
=
.IR frexp ( value )*2** (*eptr).
.PP
.I Ldexp
returns the quantity
.IR value \(**2\(**\(** exp.
.PP
.I Modf
returns the positive fractional part of
.I value
and stores the integer part indirectly
through
.I iptr.