home *** CD-ROM | disk | FTP | other *** search
-
- FREXP(3) UNIX Programmer's Manual FREXP(3)
-
- NNAAMMEE
- ffrreexxpp - convert floatingpoint number to fractional and integral compo
- nents
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<mmaatthh..hh>>
-
- _d_o_u_b_l_e
- ffrreexxpp(_d_o_u_b_l_e _v_a_l_u_e, _i_n_t _*_e_x_p)
-
- DDEESSCCRRIIPPTTIIOONN
- The ffrreexxpp() function breaks a floatingpoint number into a normalized
- fraction and an integral power of 2. It stores the integer in the _i_n_t
- object pointed to by _e_x_p.
-
- RREETTUURRNN VVAALLUUEESS
- The ffrreexxpp() function returns the value _x, such that _x is a _d_o_u_b_l_e with
- magnitude in the interval [1/2, 1] or zero, and _v_a_l_u_e equals _x times 2
- raised to the power _*_e_x_p. If _v_a_l_u_e is zero, both parts of the result are
- zero.
-
- SSEEEE AALLSSOO
- ldexp(3), modf(3), math(3)
-
- SSTTAANNDDAARRDDSS
- The ffrreexxpp() function conforms to ANSI C3.1591989 (``ANSI C'').
-
- BSD Experimental June 29, 1991 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-