Elementary.Exp Minus 1 Method
Returns the exponential function minus 1.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The exponential function minus 1.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static double ExpMinus1(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe 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 an expression in terms of different functions for such arguments.