power<T extends Complex> method
Returns of value of this complex number raised to the power of x
.
Implements the formula:
y^x = exp(x·log(y))
where exp
and log
are exp and
log, respectively.
Returns nan if either real or imaginary part of the
input argument is NaN
or infinite, or if y
equals zero.
Implementation
@override
Cartesian power<T extends Complex>(T z) => (log() * z).exp();