+ 1
Logarithm
What's logarithm in C++?
3 Answers
+ 4
There is a logarithm function in C++. It's "log" after importing math.h. You can find more info here: http://www.cplusplus.com/reference/cmath/log10/.
Hope it helps you đ
+ 2
The logarithm to a base b (e.g. 10) of a number is the value which if b is raised to the power of by gives you back the original number. This is not to confused with algorithm which is a set of steps or a procedure to follow to achieve a certain result or to solve a problem.
0
By library "cmath" for:
- ln(x) ---> log(x)
- log_b=10 ---> log10(x)