Big Float.Sqrt Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
Overload List
Sqrt( | Returns the square root of a number. |
Sqrt( | Returns the square root of a number with the specified accuracy. |
Sqrt( | Returns the square root of a number with the specified accuracy. |
Sqrt(BigFloat)
Returns the square root of a number.
public static BigFloat Sqrt(
BigFloat value
)
Parameters
Return Value
BigFloatThe square root of value.
Implements
IRootFunctions<TSelf>.Sqrt(TSelf)Remarks
The result has the same relative accuracy as value.
Exceptions
Argument | value is null. |
Sqrt(BigFloat, AccuracyGoal)
Returns the square root of a number with the specified accuracy.
public static BigFloat Sqrt(
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 square root of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |
Sqrt(BigFloat, AccuracyGoal, RoundingMode)
Returns the square root of a number with the specified accuracy.
public static BigFloat Sqrt(
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 square root of value with an accuracy within accuracyGoal.
Exceptions
Argument | value is null. |