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

Functions

long double exp2l (long double x)
 Compute exponential function 2 based. More...
 

Function Documentation

◆ exp2l()

long double exp2l ( long double  x)

Compute exponential function 2 based.

The exp2l 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 exp2l functions return 2^x.