.\" @(#)frexp.3 6.2 (Berkeley) 04/13/87 .\" .TH FREXP 3 "" .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 = .if t \fIx\fP\|\(**\|2\u\fIn\fP\d .if n \fIx\fP * 2 ** \fIn\fP indirectly through .I eptr. .PP .I Ldexp returns the quantity .if t \fIvalue\|\(**\|2\u\fIexp\fP\d. .if n \fIvalue\fP * 2 ** \fIexp\fP. .PP .I Modf returns the positive fractional part of .I value and stores the integer part indirectly through .I iptr.