AngouriMath
Navigation
RealRootPower
Method with 2 overloads
RealRootPower(System.Double,System.Double,System.Boolean)
Summary
RealRootPower(System.Numerics.Complex,System.Numerics.Complex,System.Boolean)
Summary
A power to a rational exponent whose denominator is odd and below ten, as evaluation takes it:
of a negative real, the real root to the numerator,(-8)^(1/3) = -2 and(-8)^(2/3) = 4 ,
asNumber.Pow 's search for a good root finds it; of any other number, Power(System.Numerics.Complex,System.Numerics.Complex).
The principal power gave1 + 1.73i and-2 + 3.46i , andMath.Pow NaN over
double , where evaluation has a real value. Whether the exponent is such a rational is only
known where it is written, so the compilers choose this where they compile the power.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online