DecimalMath.Exp Method

Returns e raised to the specified power.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static decimal Exp(
	decimal value
)

Parameters

value  Decimal
A number specifying a power.

Return Value

Decimal
The number e raised to the power value. If value equals System.Double.NaN or System.Double.PositiveInfinity, that value is returned. If value equals System.Double.NegativeInfinity, 0 is returned.

Exceptions

OverflowException The result is too large to be represented as a decimal number.

See Also