exp - chung-leong/qb GitHub Wiki

exp - Exponential of e

float exp( float $x )

exp() calculates e raised to the power of x.

Parameters:

x - The exponent. It can be a scalar or an array.

Return Value:

e to the power of x. If x is an array, the return value will also be an array.

Version

1.0 and above.