V7/usr/man/man3/frexp.3

Find at most related files.
including files from this version of Unix.

.TH FREXP 3
.SH NAME
frexp, ldexp, modf \- split into mantissa and exponent
.SH SYNOPSIS
.B double frexp(value, eptr)
.br
.B double value;
.br
.B int *eptr;
.PP
.B double ldexp(value, exp)
.br
.B double value;
.PP
.B double modf(value, iptr)
.br
.B double value, *iptr;
.SH DESCRIPTION
.I Frexp
returns the mantissa of a double 
.I value
as a double quantity,
.I x,
of magnitude less than 1
and stores an integer 
.I n
such that
.I value
=
.IR x *2** n
indirectly through 
.I 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.