LDEXP(3) BSD Programmer's Manual LDEXP(3) NNAAMMEE llddeexxpp - mutliply floating-point number by integral power of 2 SSYYNNOOPPSSIISS ##iinncclluuddee <<mmaatthh..hh>> _d_o_u_b_l_e llddeexxpp(_d_o_u_b_l_e _x, _i_n_t _e_x_p); DDEESSCCRRIIPPTTIIOONN The llddeexxpp() function multiplies a floating-point number by an integral power of 2. RREETTUURRNN VVAALLUUEESS The llddeexxpp() function returns the value of _x times 2 raised to the power _e_x_p. If the resultant value would cause an overflow, the global variable _e_r_r_n_o is set to ERANGE and the value HUGE is returned. SSEEEE AALLSSOO frexp(3), modf(3), math(3) SSTTAANNDDAARRDDSS The llddeexxpp() function conforms ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1