AngouriMath

Navigation

← Back to list of members

WholePower​(System.​Numerics.​Complex,​System.​Double)

 Method (no overloads)

Summary

A whole power of a number that is not real, as a product of its factors, which is how evaluation takes it.
Pow(System.Numerics.Complex,System.Numerics.Complex) takes e^(n ln z),
whose rounded angle leaves a part that should be 0 at about 1e-16: i^2 was (-1, 1.2e-16), which is
not real, so (i pi)^2 > 0 had no truth value where it is false. Past 2^62 the exponent is
left to it, where a product would take more than 124 multiplications.
https://github.com/asc-community/AngouriMath/issues/2247

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online