> However, for some mystical reasons J implementation
> does not allow the tolerance (factor of the radius)
> to grow above 2^_34, thus, as pointed out by Roger Hui
>   http://www.jsoftware.com/jwiki/Essays/Tolerant_Comparison
> ... This is also why it's hard to grasp
> this limitation concept.

It is my understanding that tolerant comparison is intended
not to solve any application problem, but just to hide the
numerical inaccuracies that result from floating-point
arithmetic.  For such a use, relative tolerance is
the right approach, and 2^_34 is plenty big.

If your application needs comparison on intervals, you
are expected to code it yourself.  Tolerance larger than
2^_34 hurts integer code & so is not available as a way
to handle interval comparisons.

Henry Rich

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to