@code_typed: positiveReal^realExponent

In general, the compiler can’t specialize on the value of the function, only the type…

However, in the particular case of x^(1/3) you should call the cbrt function rather than using generic exponentiation.