EXP2(3)

NAME
1.16 `exp2', `exp2f'-exponential, base 2

SYNOPSIS
     #include <math.h>
     double exp2(double X);
     float exp2f(float X);

DESCRIPTION
`exp2' and `exp2f' calculate 2 ^ X, that is, 2 raised to the power X.
   You can use the (non-ANSI) function `matherr' to specify error handling for these functions.

RETURNS
On success, `exp2' and `exp2f' return the calculated value. If the result underflows, the returned value is `0'. If the result overflows, the returned value is `HUGE_VAL'. In either case, `errno' is set to `ERANGE'.

PORTABILITY
ANSI C, POSIX.

SEE ALSO
exp2 is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.