log10

Calculate the base-10 logarithm of x.

Special Values
xlog10(x)divide by 0?invalid?
±0.0-∞yesno
<0.0NaNnoyes
+∞+∞nono
@safe pure nothrow @nogc
real
log10
(
real x
)

Examples

assert(fabs(log10(1000) - 3) < .000001);

Meta

Suggestion Box / Bug Report