Returns the base 10 logarithm of a double
value.
Special cases:
- If the argument is NaN or less than zero, then the result
is NaN.
- If the argument is positive infinity, then the result is
positive infinity.
- If the argument is positive zero or negative zero, then the
result is negative infinity.
- If the argument is equal to 10n for
integer n, then the result is n.
The computed result must be within 1 ulp of the exact result.
Results must be semi-monotonic.
Parameters:
Returns: the base 10 logarithm of a
.
Since: 1.5