AngouriMath
CanHaveARealRoot(AngouriMath.Entity.Number.Complex,PeterO.Numbers.EInteger)
Method (no overloads)
Summary
Whether FindGoodRoot(AngouriMath.Entity.Number.Complex,AngouriMath.Entity.Number.Integer) can return anything at all for this base and
root power, asked before it runs so that its cost is only paid where its answer
can be used.
root power, asked before it runs so that its cost is only paid where its answer
can be used.
Remarks
order — for real
every even root of it lies off the real line and the search is a certain miss.
precision and attempts a rational conversion of each part of each, which is 7.5 ms
of the 12.6 ms that evaluating
a caller is that
times over — each rewrite hands it a freshly built node, whose cached value is not
the previous node's — so
argument unchanged, and spends 232 ms now.
#975
has no real root either, but a real one whose imaginary part is a rounding artefact
arrives as Complex, and this is a performance guard rather than the
place to decide what such a number is.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online