(1 + 1e_14) -: (1 + 1e_15)
1
(1 + 1e_14) -:!.0 (1 + 1e_15)
0
Check comparison tolerance.
On Wed, May 27, 2009 at 12:30 PM, Raul Miller <[email protected]> wrote:
> On Wed, May 27, 2009 at 4:08 AM, June Kim <[email protected]> wrote:
> > ''-: I. 0
> > 1
> > {. ''
> >
> > {. I.0
> > 0
> >
> > Shouldn't '' -:&{. I.0 be true, given ''-:I.0?
>
> (1 + 1e_14) -: (1 + 1e_15)
> 1
>
> If arrays can match when their elements differ slightly, why
> should they not match when their difference is not an element
> in either array?
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm