half_power

Function half_power 

Source
fn half_power(z: Complex, degree: f64) -> Complex
Expand description

z^degree on the principal branch for an integer or half-integer degree. Integer degrees stay exactly real on the real axis, unlike exp(degree ln z).