.
There is no reason why the compiler can't replace x^c with ( x * x * ... x ) for sufficiently small values of c. Using multiplication is O( n ) and calculating with exp and ln is constant, but a very large one.
There is no reason why the compiler can't replace x^c with ( x * x * ... x ) for sufficiently small values of c. Using multiplication is O( n ) and calculating with exp and ln is constant, but a very large one.