Elementary.ExpMinus1 Method

Returns the exponential function minus 1.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static double ExpMinus1(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
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 an expression in terms of different functions for such arguments.

See Also