Original Post
Hey,
I remember seeing somewhere this really slick way to calculate log2 (thats log with base 2) of any # quickly on a computer using c/c++ ... does such a function exist, and if so, is it better(meaning faster) to use it instead of doing log(x)/log(2) with math.h?

