Is there a neat way to achieve this without using the pow()-function? Say wanting to calculate 2^(2.5).
EDIT: Perhaps pow() is the way to go after all. I was hoping to create a function of my own using only the four common operations to solve it. (Reason being I like to do things manually)
There really should be a pow(float, float) version of that function. If not, you can express a**b by calculating exp( b * log (a) ), see wikipedia.