View Single Post
Old Feb 17th, 2005, 6:50 PM   #2
Jared
Newbie
 
Join Date: Feb 2005
Posts: 2
Rep Power: 0 Jared is on a distinguished road
For now, I'm just using this little check.

if(n == 8) a = 3;
else a = log(n)/log(2);

I still don't know why it does not return the right value when n = 8. I'm going to try it in Linux and see if it works right there.
Jared is offline   Reply With Quote