Big Float.Inverse Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Inverse( | Returns the reciprocal of a number. |
Inverse( | Returns the reciprocal of a number with the specified accuracy. |
Inverse( | Returns the reciprocal of a number with the specified accuracy. |
Inverse(BigFloat)
Returns the reciprocal of a number.
public static BigFloat Inverse(
BigFloat value
)
Parameters
Return Value
BigFloatThe reciprocal of value.
Remarks
The result has the same relative accuracy as value.
Exceptions
Argument | value is null. |
Inverse(BigFloat, AccuracyGoal)
Returns the reciprocal of a number with the specified accuracy.
public static BigFloat Inverse(
BigFloat value,
AccuracyGoal accuracyGoal
)
Parameters
- value BigFloat
- A BigFloat value.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatThe reciprocal of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |
Inverse(BigFloat, AccuracyGoal, RoundingMode)
Returns the reciprocal of a number with the specified accuracy.
public static BigFloat Inverse(
BigFloat value,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)
Parameters
- value BigFloat
- A BigFloat value.
- 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
BigFloatThe reciprocal of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |