1LDEXP(3)                   Linux Programmer's Manual                  LDEXP(3)
2
3
4

NAME

6       ldexp,  ldexpf,  ldexpl  -  multiply  floating-point number by integral
7       power of 2
8

SYNOPSIS

10       #include <math.h>
11
12       double ldexp(double x, int exp);
13       float ldexpf(float x, int exp);
14       long double ldexpl(long double x, int exp);
15
16       Link with -lm.
17

DESCRIPTION

19       The ldexp() function returns the result of  multiplying  the  floating-
20       point number x by 2 raised to the power exp.
21

CONFORMING TO

23       SVr4, 4.3BSD, C89.  The float and long double variants are C99 require‐
24       ments.
25

SEE ALSO

27       frexp(3), modf(3), scalb(3)
28
29
30
31                                  2004-10-31                          LDEXP(3)
Impressum