Method Log10
Log10(BigRational, Int32)
Returns the base 10 logarithm of a specified number.
Declaration
public static BigRational Log10(BigRational x, int digits)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | x | The number whose logarithm is to be found. |
| System.Int32 | digits | The maximum number of fractional decimal digits in the return value. |
Returns
| Type | Description |
|---|---|
| BigRational | The base 10 logarithm of |
Remarks
Note: In the current version, the function has not yet been finally optimized for performance
and the accuracy of the last digits has not yet been ensured!
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | For |
Log10(BigRational)
Computes the base-10 logarithm of a value.
Declaration
public static BigRational Log10(BigRational x)
Parameters
| Type | Name | Description |
|---|---|---|
| BigRational | x | The value whose base-10 logarithm is to be computed. |
Returns
| Type | Description |
|---|---|
| BigRational |
|
Remarks
Part of the new NET 7 number type system see System.Numerics.ILogarithmicFunctions`1.Log10(`0).
The desired precision can preset by MaxDigits