c:math:log10 From C++ Reference previous page next page log10 Syntax: #include <cmath> double log10( double num ); The log10() function returns the base 10 (or common) logarithm for num. There's a domain error if num is negative, a range error if num is zero. Related Topics: log previous page start next page