4.3BSD-UWisc/man/cat3/frexp.3
FREXP(3) UNIX Programmer's Manual FREXP(3)
NAME
frexp, ldexp, modf - split into mantissa and exponent
SYNOPSIS
double frexp(value, eptr)
double value;
int *eptr;
double ldexp(value, exp)
double value;
double modf(value, iptr)
double value, *iptr;
DESCRIPTION
_F_r_e_x_p returns the mantissa of a double _v_a_l_u_e as a double
quantity, _x, of magnitude less than 1 and stores an integer
_n such that _v_a_l_u_e = _x*28_n9 indirectly through _e_p_t_r.
_L_d_e_x_p returns the quantity _v_a_l_u_e*_28_e_x_p9.
_M_o_d_f returns the positive fractional part of _v_a_l_u_e and
stores the integer part indirectly through _i_p_t_r.
Printed 12/27/86 May 15, 1985 1