double log10 (double x);
double log10 (double x); float log10f (float x);long double log10l (long double x);
double log10 (double x); float log10 (float x);long double log10 (long double x);
double log10 (double x); float log10 (float x);long double log10 (long double x); double log10 (T x); // additional overloads for integral types
<cmath>
) 中为整型提供了额外的重载:这些重载在计算前有效地将 x 转换为 double
。<complex>
和<valarray>
中重载(参见 complex log10 和 valarray log10)。
|
|
log10(1000.000000) = 3.000000 |