Decimal Math.Exp 2 Method
Returns 2 raised to the specified power.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Two raised to value, or zero when the result underflows.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public static decimal Exp2(
decimal value
)Parameters
- value Decimal
- A number specifying a power.
Return Value
DecimalTwo raised to value, or zero when the result underflows.
Exceptions
| Overflow | The result is too large to be represented as a decimal number. |