SHIP:Sail:exp

From Serious Documentation
Revision as of 14:26, 29 September 2016 by CarltonHeyer (talk | contribs) (Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|exp}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return e to the given power{{v5}}</onlyinclude> |} ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function Returns Introduced Description
exp Float v5.1.0 Return e to the given powerBadge SHIPv5.gif

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...