Skip to content
Reference > Methods

exp(x)

Definition

Number exp(Number x)

Description

Returns Euler's number raised to the power of x.

Parameter Definition

Name Type Description
x Number Input value

Examples

1
2
3
Double r1 = exp(38); // r1 == 3.1855931757113756E16
Double r2 = exp(0.5D); // r2 == 1.6487212707001282
Double r3 = exp(-2.99D); // r3 == 0.050287436723591865