log10
Da cppreference.com
< cpp | numeric/math
Sintaxe:
#include <cmath> double log10( double num );
A função log10() devolve o logaritmo na base 10 de num. Há um erro de domínio (domain error) se num é negativo, e um erro de intervalo (range error) se num é zero.
O C++ também fornece as seguintes formas sobre-carregadas (overload):
#include <cmath> float log10( float num ); // igual a log10f() em C99 long double log10( long double num ); // igual a log10l() em C99
Tópicos Relacionados: log