Answers for "find log of a number to a base in c++"

C++
6

log base c++

int intlog(double base, double x) {
    return (int)(log(x) / log(base));
}
Posted by: Guest on September-14-2020
0

log base 10 c+_+

double log10(double x)
Posted by: Guest on June-11-2020

Code answers related to "find log of a number to a base in c++"

Browse Popular Code Answers by Language