MicrOS
exp2.c File Reference
#include "../math.h"

Functions

double exp2 (double x)
 Compute exponential function 2 based. More...
 

Function Documentation

◆ exp2()

double exp2 ( double  x)

Compute exponential function 2 based.

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

Parameters
xValue of the exponent.
Returns
The exp2 functions return 2^x.