phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
log10
std
math
exponential
Calculate the base-10 logarithm of x.
Special Values
x
log10(x)
divide by 0?
invalid?
±0.0
-∞
yes
no
<0.0
NaN
no
yes
+∞
+∞
no
no
real
log10
(real x)
double
log10
(double x)
float
log10
(float x)
pragma(
inline
, true) @
safe
pure nothrow @
nogc
float
log10
(
float
x
)
Meta
Source
See Implementation
std
math
exponential
aliases
FP_ILOGB0
FP_ILOGBNAN
functions
exp
exp2
expm1
frexp
ilogb
ldexp
log
log10
log1p
log2
logb
pow
powmod
scalbn
Calculate the base-10 logarithm of x.