home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
ldexp.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
LDEXP(3) UNIX Programmer's Manual LDEXP(3)
NNAAMMEE
llddeexxpp - mutliply floatingpoint 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 floatingpoint 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 C3.1591989 (``ANSI C'').
BSD Experimental June 29, 1991 1