Hi
I am trying to calculate a power using an integer as a base and a float point number as exponent in C.
pow in math.h does not work with floating point numbers.
Does any one know any fast way to do this....
thanks
Hi
I am trying to calculate a power using an integer as a base and a float point number as exponent in C.
pow in math.h does not work with floating point numbers.
Does any one know any fast way to do this....
thanks
pow() ONLY works with doubles, so what's the problem?
http://www.cppreference.com/stdmath/pow.html
nevermind....it works now