How is that being consistent?  A (relative) tolerance
of 1 does not give useful results.
http://www.jsoftware.com/jwiki/Essays/Tolerant_Comparison#ToleranceLessThan1

As well, <.0.5+y already rounds y to the nearest integer.



----- Original Message -----
From: Zsbán Ambrus <[email protected]>
Date: Monday, March 15, 2010 11:10
Subject: Re: [Jchat] [Jprogramming] Request for enhancement to #
To: [email protected]

> On Mon, Mar 15, 2010 at 7:03 PM, Dan Bron <[email protected]> wrote:
> > Right now  a j. -b is a domain error and it would be an elegant,
> > consistent extension of the notation (so much so that it's 
> almost surprising it doesn't exist yet), and the interpreter could
> > implement it much more efficiently than #&.|. (unless Roger 
> wants to support that construct with special code).
> 
> As for elegant and consistent notations, could we have monadic 
> <.!.1mean rounding to the nearest integer?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to