Returns the exponential function minus 1.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function ExpMinus1 ( _ x As Double _ ) As Double |
| C# |
|---|
public static double ExpMinus1 ( double x ) |
| C++ |
|---|
public: static double ExpMinus1 ( double x ) |
Parameters
- x (System.Double)
- A real number.
Return Value
The exponential function minus 1.
Remarks
When x is close to zero,
the exponential function is close to one. Subtracting
one from this result can cause significant round-off
error. This function resolves this problem by using
a direct approximations for arguments close to 0.