The implementation of xa can be optimized for constant a.
It is obvious that for constant integer exponent you can just expand:
and since 1310 = 11012 = 20 + 22 + 23:
Likewise for fractional a:
So for a = 2.410≃10.0110011012: