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

Functions

float exp2f (float x)
 Compute exponential function 2 based. More...
 

Function Documentation

◆ exp2f()

float exp2f ( float  x)

Compute exponential function 2 based.

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