Page 1 of 1
Log in base 2 in c++
Posted: Thu May 16, 2013 7:06 pm
by Spartan
How can i calculate the log in base 2 of a number in C++?
Re: Log in base 2 in c++
Posted: Thu May 16, 2013 11:01 pm
by ymondelo20
With the function log2(num) ... from the math library.