home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat3 / frexp.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. FREXP(3)                   UNIX Programmer's Manual                   FREXP(3)
  3.  
  4. NNAAMMEE
  5.      ffrreexxpp - convert floating­point number to fractional and integral compo­
  6.      nents
  7.  
  8. SSYYNNOOPPSSIISS
  9.      ##iinncclluuddee <<mmaatthh..hh>>
  10.  
  11.      _d_o_u_b_l_e
  12.      ffrreexxpp(_d_o_u_b_l_e _v_a_l_u_e, _i_n_t _*_e_x_p)
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      The ffrreexxpp() function breaks a floating­point number into a normalized
  16.      fraction and an integral power of 2.  It stores the integer in the _i_n_t
  17.      object pointed to by _e_x_p.
  18.  
  19. RREETTUURRNN VVAALLUUEESS
  20.      The ffrreexxpp() function returns the value _x, such that _x is a _d_o_u_b_l_e with
  21.      magnitude in the interval [1/2, 1] or zero, and _v_a_l_u_e equals _x times 2
  22.      raised to the power _*_e_x_p. If _v_a_l_u_e is zero, both parts of the result are
  23.      zero.
  24.  
  25. SSEEEE AALLSSOO
  26.      ldexp(3),  modf(3),  math(3)
  27.  
  28. SSTTAANNDDAARRDDSS
  29.      The ffrreexxpp() function conforms to ANSI C3.159­1989 (``ANSI C'').
  30.  
  31. BSD Experimental                 June 29, 1991                               1
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.