4.3BSD/usr/man/man3/frexp.3

Compare this file to the similar file:
Show the results in this format:

.\"	@(#)frexp.3	6.1 (Berkeley) 5/15/85
.\"
.TH FREXP 3 "May 15, 1985"
.AT 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 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
=
\fIx\fP\|\(**\|2\u\fIn\fP\d
indirectly through 
.I eptr.
.PP
.I Ldexp
returns the quantity
\fIvalue\|\(**\|2\u\fIexp\fP\d.
.PP
.I Modf
returns the positive fractional part of
.I value
and stores the integer part indirectly
through 
.I iptr.