Big Float.Pow Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Pow( | Raises a number to the specified power. |
Pow( | Raises a number to the specified power. |
Pow( | Raises a number to the specified power with the specified accuracy. |
Pow( | Raises a number to the specified power with the specified accuracy. |
Pow( | Raises a number to the specified power with the specified accuracy. |
Pow( | Raises a number to the specified power with the specified accuracy. |
Pow(BigFloat, BigFloat)
Raises a number to the specified power.
public static BigFloat Pow(
BigFloat value,
BigFloat exponent
)
Parameters
Return Value
BigFloatvalue raised to the power exponent with an accuracy that meets the default accuracy goal.
Remarks
The accuracy of the result is the smaller of the relative accuracies of value and exponent.
Exceptions
Argument | value is null. -or- exponent is null. |
Pow(BigFloat, Int32)
Raises a number to the specified power.
public static BigFloat Pow(
BigFloat value,
int exponent
)
Parameters
Return Value
BigFloatvalue raised to the power exponent.
Remarks
The result has the same relative accuracy as value.
Exceptions
Argument | value is null. |
Pow(BigFloat, BigFloat, AccuracyGoal)
Raises a number to the specified power with the specified accuracy.
public static BigFloat Pow(
BigFloat value,
BigFloat exponent,
AccuracyGoal accuracyGoal
)
Parameters
- value BigFloat
- A BigFloat value.
- exponent BigFloat
- The exponent.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatvalue raised to the power exponent with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. -or- exponent is null. |
Pow(BigFloat, Int32, AccuracyGoal)
Raises a number to the specified power with the specified accuracy.
public static BigFloat Pow(
BigFloat value,
int exponent,
AccuracyGoal accuracyGoal
)
Parameters
- value BigFloat
- A BigFloat value.
- exponent Int32
- The exponent.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatvalue raised to the power exponent with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |
Pow(BigFloat, BigFloat, AccuracyGoal, RoundingMode)
Raises a number to the specified power with the specified accuracy.
public static BigFloat Pow(
BigFloat value,
BigFloat exponent,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- value BigFloat
- A BigFloat value.
- exponent BigFloat
- The exponent.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatvalue raised to the power exponent with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. -or- exponent is null. |
Pow(BigFloat, Int32, AccuracyGoal, RoundingMode)
Raises a number to the specified power with the specified accuracy.
public static BigFloat Pow(
BigFloat value,
int exponent,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- value BigFloat
- A BigFloat value.
- exponent Int32
- The exponent.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatvalue raised to the power exponent with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |