pow
Calculates x^y (power function).
Automatically uses a faster algorithm for integer exponents.
Gas Cost
- Integer exponent: ~75,000 (f128)
- Fractional exponent: ~362,000 (f128)
Panics
Panics if a is negative and b is fractional.
Fully qualified path: cairo_fp::f128::math::ops::pow
fn pow(a: Fixed, b: Fixed) -> Fixed