4.3BSD-Reno/share/man/cat3/frexp.0

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




FREXP(3)		      1987			 FREXP(3)



NNAAMMEE
     frexp, ldexp, modf - split into mantissa and exponent

SSYYNNOOPPSSIISS
     ddoouubbllee ffrreexxpp((vvaalluuee,, eeppttrr))
     ddoouubbllee vvaalluuee;;
     iinntt **eeppttrr;;

     ddoouubbllee llddeexxpp((vvaalluuee,, eexxpp))
     ddoouubbllee vvaalluuee;;

     ddoouubbllee mmooddff((vvaalluuee,, iippttrr))
     ddoouubbllee vvaalluuee,, **iippttrr;;

DDEESSCCRRIIPPTTIIOONN
     Every nonzero number can be written uniquely as _x * 2^_n,
     where the ``mantissa'' (fraction) _x is in the range 0.5 <=
     |x| < 1.0, and the ``exponent'' _n is an integer.  _F_r_e_x_p
     returns the mantissa of a double _v_a_l_u_e, and stores the
     exponent indirectly in the location pointed to by _e_p_t_r.  If
     _v_a_l_u_e is 0, both results returned by _f_r_e_x_p are 0.

     _L_d_e_x_p returns the quantity _v_a_l_u_e * 2^_e_x_p.

     _M_o_d_f returns the signed fractional part of _v_a_l_u_e and stores
     the integer part indirectly in the location pointed to by
     _i_p_t_r.

DDIIAAGGNNOOSSTTIICCSS
     If _l_d_e_x_p would cause overflow, HHUUGGEE is returned and _e_r_r_n_o is
     set to EERRAANNGGEE.
























Printed 7/27/90               April				1