home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / modf.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. MODF(3)                    UNIX Programmer's Manual                    MODF(3)
  3.  
  4. NNAAMMEE
  5.      mmooddff - extract signed integral and fractional values from floating­point
  6.      number
  7.  
  8. SSYYNNOOPPSSIISS
  9.      ##iinncclluuddee <<mmaatthh..hh>>
  10.  
  11.      _d_o_u_b_l_e
  12.      mmooddff(_d_o_u_b_l_e _v_a_l_u_e, _d_o_u_b_l_e _*_i_p_t_r)
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      The mmooddff() function breaks the argument _v_a_l_u_e into integral and fraction­
  16.      al parts, each of which has the same sign as the argument.  It stores the
  17.      integral part as a _d_o_u_b_l_e in the object pointed to by _i_p_t_r.
  18.  
  19. RREETTUURRNN VVAALLUUEESS
  20.      The mmooddff() function returns the signed fractional part of _v_a_l_u_e.
  21.  
  22. SSEEEE AALLSSOO
  23.      frexp(3),  ldexp(3),  math(3)
  24.  
  25. SSTTAANNDDAARRDDSS
  26.      The mmooddff() function conforms to ANSI C3.159­1989 (``ANSI C'').
  27.  
  28. BSD Experimental                 June 29, 1991                               1
  29.  
  30.  
  31.  
  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.