AngouriMath

Navigation

← Back to list of members

IsAboveTheIntervalFloor​(AngouriMath.​Entity,​AngouriMath.​Entity.​Variable,​AngouriMath.​Entity)

 Method (no overloads)

Summary

Whether root and equation have only exact numbers in
them, and the residual, evaluated without downcasting, is further from zero than rounding
leaves of a true root's: only such a residual is enclosed by IsShownNotZero(AngouriMath.Entity).

Remarks

The evaluation is what keeps the common case cheap. An interval evaluation of each exact
root was twice the allocation of solving x^2 + x + 1, whose roots leave 0 here and are not enclosed; this costs about a tenth of that.
Without downcasting, because downcasting is what made the roots wrong, and it reads what
such a root leaves as zero too: -b^2 / 4 evaluates to 0 with it, and to
-6.4e-55 without. A fresh tree, since Evaled keeps a value
with the precision it was computed at and not with this setting. With the digits of the
largest number in the tree besides, where those are more than ten: at
(1 + sqrt(2))^140 = P + Q sqrt(2), P - Q sqrt(2) is 2.6e-54 with
P near 1.9e53, which takes 108 digits to tell from zero.

























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