Big Float.Get Log 2 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
Get | Returns the value of the natural logarithm of 2 to the specified number of digits. |
Get | Returns the value of the natural logarithm of 2 to the specified number of digits. |
GetLog2(AccuracyGoal)
Returns the value of the natural logarithm of 2 to the specified number of digits.
public static BigFloat GetLog2(
AccuracyGoal goal
)
Parameters
- goal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy.
Return Value
BigFloatThe natural logarithm of 2 to the specified number of digits.
Remarks
Computing a very large number of digits may take a long time.
GetLog2(AccuracyGoal, RoundingMode)
Returns the value of the natural logarithm of 2 to the specified number of digits.
public static BigFloat GetLog2(
AccuracyGoal goal,
RoundingMode roundingMode
)
Parameters
- goal AccuracyGoal
- The desired accuracy.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatThe natural logarithm of 2 to the specified number of digits.
Remarks
Computing a very large number of digits may take a long time.