7.12.6.2 The exp2 functions

Synopsis

1

#include <math.h>
double exp2(double x);
float exp2f(float x);
long double exp2l(long double x);

Description

2

The exp2 functions compute the base-2 exponential of x. A range error occurs if the magnitude of x is too large.

Returns

3

The exp2 functions return 2x.