SHIP:Sail:exp

From Serious Documentation
Jump to: navigation, search
Function Returns Introduced Description
exp Float v5.1.0 Return e to the given power

See Also:

Prototype

Float exp(Integer n);

Parameters/Return Value

Parameter Data Type Description
n Integer the number to raise e to the power of
Return Float the result of e^n

Detailed Description

The exp() function returns e to the power of a number.

Examples

Example Result Notes
exp(0); 1.0
exp(1); 2.718281...
exp(2); 7.389056...