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: Sun, 15 Jun 2003 10:17:34 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87d6hgw5wh.fsf@zip.com.au> References: <87ade1t1p7.fsf@zip.com.au> <87d6ih5okm.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055636208 15808 80.91.224.249 (15 Jun 2003 00:16:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2003 00:16:48 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jun 15 02:16:45 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 19RLCJ-00045v-00 for ; Sun, 15 Jun 2003 02:16:40 +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 19RLEE-00083O-8g for guile-devel@m.gmane.org; Sat, 14 Jun 2003 20:18:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19RLDz-0007sA-8w for guile-devel@gnu.org; Sat, 14 Jun 2003 20:18:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19RLDw-0007oE-3G for guile-devel@gnu.org; Sat, 14 Jun 2003 20:18:20 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19RLDL-0007b4-AK for guile-devel@gnu.org; Sat, 14 Jun 2003 20:17:43 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h5F0HfYd016851 for ; Sun, 15 Jun 2003 10:17:41 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h5F0HfQg029221 for ; Sun, 15 Jun 2003 10:17:41 +1000 (EST) Original-Received: from localhost (ppp116.dyn228.pacific.net.au [203.143.228.116]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h5F0HeYZ014619 for ; Sun, 15 Jun 2003 10:17:40 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19RLDC-0000v4-00; Sun, 15 Jun 2003 10:17:34 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never 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:2542 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2542 I notice C99 fmin and fmax return the other operand when one is a NaN, and return NaN only when both are NaNs. I tend to think of nan as indicating something evil, and it should be propagated. But the c99 way would be a possibility to consider. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel