exp()

Math / Calculation

Description

Returns Euler's number e raised to the power of the parameter.

Syntax

float exp(float x)

Parameters

NameTypeDescription
xfloatexponent

Returns

float

Related

Under the Hood

From Processing.h:

static float exp(float x) { return std::exp(x); } static float exp(float x) { return std::exp(x);