mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ee4d349f2e
Implement the Complex#** method in C. This method calculates complex exponentiation using `exp(w * log(z))` for complex exponents and `(abs(z)**n) * Complex.polar(1, n * arg(z))` for real exponents.