AngouriMath

Navigation

← Back to list of members

AgreeToHalfThePrecision​(AngouriMath.​Entity.​Number,​AngouriMath.​Entity.​Number)

 Method (no overloads)

Summary

Whether two values differ by no more than half the evaluation's digits, relative to the larger
of them or to one. Two routes to one value differ in their last digits: the derivative of
x ln(x)'s antiderivative, 2 x (-1/4 + ln(x)/2) + 1/x * 2/4 * x^2, is x ln(x),
and compared exactly at -100 and 100 the two read as unequal. A value that is not finite agrees
only with itself.
https://github.com/asc-community/AngouriMath/issues/1674

























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