Difference between revisions of "SHIP:Sail:expm1"

From Serious Documentation
Jump to: navigation, search
Line 41: Line 41:
 
|}
 
|}
  
[[Categories: Numeric Functions]]
+
[[Category:Numeric Functions]]

Revision as of 15:00, 10 October 2016

Function Returns Introduced Description
expm1 Float v5.1.0 Return e to the given power minus 1Badge SHIPv5.gif

See Also:

Prototype

Float expm1(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 - 1

Detailed Description

The expm1() function returns e to the power of a number minus 1.

Examples

Example Result Notes
expm1(0); 0.0
expm1(1); 1.718281...
expm1(-1); 0.367879...