I'm unable to get log2 to work in my program.
does anyone have an idea to get this to work.
i have read the following
Code:
#include<cmath>

double logResult=0;

logResult=log2(128);

cout<<logResult;
i get an error of
log2 undeclared identifier