In APL 0 divided by 0 is 1.  In J it is 0.


----- Original Message -----
From: Henry Rich <[EMAIL PROTECTED]>
Date: Tuesday, April 24, 2007 8:08 am
Subject: RE: [Jgeneral] zero

> 
> > 1. Fortran-style complex numbers and failing to distinguish betwee
> > +/-0 lead to some numerical problems in physically important 
> contexts.
> I tried to find the paper where he discusses this, and I found
> numerous references to it but not the paper itself.  Can you
> summarize what -0 is needed for?  It seems that -0 would have
> to produce a different result from +0 to make a difference,
> but I can't think of what function would have those different
> results.  He mentions SQRT, and something about branch cuts, but
> I don't get it.
> 
> He says APL set 0/0 = 1.  Is that just his blunder?
> 
> Henry Rich
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to