double logb (double x); float logbf (float x);long double logbl (long double x);
double logb (double x); float logb (float x);long double logb (long double x); double logb (T x); // additional overloads for integral types
2
,因此对于正值,该函数等价于 log2。
|
|
logb (1024.000000) = 10.000000 |