Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 84779 invoked from network); 10 Jun 2003 19:17:52 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jun 2003 19:17:52 -0000 Received: (qmail 19852 invoked by uid 97); 10 Jun 2003 19:20:12 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 19845 invoked from network); 10 Jun 2003 19:20:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Jun 2003 19:20:12 -0000 Received: (qmail 84119 invoked by uid 500); 10 Jun 2003 19:17:38 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 84085 invoked from network); 10 Jun 2003 19:17:38 -0000 Received: from web41304.mail.yahoo.com (66.218.93.53) by daedalus.apache.org with SMTP; 10 Jun 2003 19:17:38 -0000 Message-ID: <20030610191743.23427.qmail@web41304.mail.yahoo.com> Received: from [65.213.54.115] by web41304.mail.yahoo.com via HTTP; Tue, 10 Jun 2003 12:17:43 PDT Date: Tue, 10 Jun 2003 12:17:43 -0700 (PDT) From: Al Chou Subject: Re: [math] proposed ordering for task list, scope of initial release To: Jakarta Commons Developers List In-Reply-To: <3EE5E041.3030404@steitz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Phil Steitz wrote: > Al Chou wrote: > > --- Brent Worden wrote: > >>>-----Original Message----- > >>>From: Phil Steitz [mailto:steitzp@yahoo.com] > >>>Sent: Friday, June 06, 2003 12:21 PM [deletia] > >>Something similar to JUnit's assertEquals(double expected, double actual, > >>double epsilon). > > > This is a good idea. > > > > > Is JUnit's license (http://www.opensource.org/licenses/ibmpl.php) Apache > > compatible? > > > > I think that Brent is talking about defining a new function called > something like approximatelyEquals() that returned a boolean. The > signature, semantics and implementation of this would be different from > JUnit. Ah, OK. That could be useful indeed. > >>Simple methods like isPositive, isNegative, etc. can be used to make > boolean > >>expressions more human readable. > > > > > > I'm willing to build those two on top of sign (I'm so generous with my > coding > > time, eh? ). Are those two sufficient? sign treats 0 as positive, > which > > may not be desirable. > > > +1 (especially the part about your time :-) OK, I'll TDD those up, hopefully resolving the question of what to do about the sign of 0 in the process. Al ===== Albert Davidson Chou Get answers to Mac questions at http://www.Mac-Mgrs.org/ . __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org