[Jprogramming] confused about different emptiness
Don Guinn
donguinn at gmail.com
Thu May 28 01:47:22 HKT 2009
(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 <rauldmiller at gmail.com> wrote:
> On Wed, May 27, 2009 at 4:08 AM, June Kim <juneaftn at gmail.com> 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
>
More information about the Programming
mailing list