MathNLog10TNumeric Method
Returns the base 10 logarithm of a specified number.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static TNumeric Log10<TNumeric>(
TNumeric x
)
where TNumeric : struct, new(), INumeric<TNumeric>
Public Shared Function Log10(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
x As TNumeric
) As TNumeric
public:
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static TNumeric Log10(
TNumeric x
)
static member Log10 :
x : 'TNumeric -> 'TNumeric when 'TNumeric : struct, new() and INumeric<'TNumeric>
- x TNumeric
- A number whose logarithm is to be found.
- TNumeric
TNumericThe base 10 log of
x; that is, log 10
x.
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.