AngouriMath
TryPerfectPower(AngouriMath.Entity.Number.Rational,AngouriMath.Entity.Number.Rational@,System.Int32@)
Method (no overloads)
Summary
2 that fits:
64 bits; anything else is not a perfect power for this purpose.
Remarks
Positive only, deliberately: -8 is (-2)^3 and ln(-8) is
ln 8 + i pi while 3 ln(-2) is 3 ln 2 + 3 i pi , so the identity a
caller wants this for does not survive a negative root.
caller wants this for does not survive a negative root.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online