From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: min, max and nans Date: Thu, 05 Jun 2003 02:08:40 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87adcxkepj.fsf@zip.com.au> References: <87ade1t1p7.fsf@zip.com.au> <87d6ih5okm.fsf@zagadka.ping.de> <87smqxl1yq.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054744048 12625 80.91.224.249 (4 Jun 2003 16:27:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 16:27:28 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 04 18:27:25 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Nb4s-00037z-00 for ; Wed, 04 Jun 2003 18:25:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Nap4-0006p1-Ta for guile-devel@m.gmane.org; Wed, 04 Jun 2003 12:09:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Naoq-0006oc-HQ for guile-devel@gnu.org; Wed, 04 Jun 2003 12:08:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Naoo-0006nw-Sn for guile-devel@gnu.org; Wed, 04 Jun 2003 12:08:55 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Naoo-0006nU-40 for guile-devel@gnu.org; Wed, 04 Jun 2003 12:08:54 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h54G8pKN010103 for ; Thu, 5 Jun 2003 02:08:51 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h54G8pQg024290 for ; Thu, 5 Jun 2003 02:08:51 +1000 (EST) Original-Received: from localhost (ppp76.dyn228.pacific.net.au [203.143.228.76]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h54G8oYZ001200 for ; Thu, 5 Jun 2003 02:08:50 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19Naob-0004NC-00; Thu, 05 Jun 2003 02:08:41 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never In-Reply-To: <87smqxl1yq.fsf@zip.com.au> (Kevin Ryde's message of "Fri, 30 May 2003 10:20:29 +1000") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2492 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2492 I wrote: > * numbers.c (scm_max, scm_min): For inum, bignum and real, if other > operand is NaN, then return NaN. Also avoid passing NaN to mpz_cmp_d. > > * tests/numbers.test (max, min): Add tests involving NaNs. I made this change. Actually, I had a bit of a brain fade and added the tests the other day, but not the code. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel