From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bill Schottstaedt" Newsgroups: gmane.lisp.guile.bugs Subject: Re: -0.0 treated as negative? Date: Tue, 8 Jun 2010 02:49:17 -0700 Message-ID: <20100608094623.M68020@ccrma.Stanford.EDU> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: dough.gmane.org 1275990584 7255 80.91.229.12 (8 Jun 2010 09:49:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2010 09:49:44 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jun 08 11:49:39 2010 connect(): No such file or directory Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OLvRA-0006pn-DX for guile-bugs@m.gmane.org; Tue, 08 Jun 2010 11:49:36 +0200 Original-Received: from localhost ([127.0.0.1]:49115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLvR9-0007C6-LP for guile-bugs@m.gmane.org; Tue, 08 Jun 2010 05:49:35 -0400 Original-Received: from [140.186.70.92] (port=55888 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLvQv-00079w-9j for bug-guile@gnu.org; Tue, 08 Jun 2010 05:49:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLvQu-0007u8-91 for bug-guile@gnu.org; Tue, 08 Jun 2010 05:49:21 -0400 Original-Received: from smtp2.stanford.edu ([171.67.219.82]:36785 helo=smtp.stanford.edu) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLvQu-0007tk-1z for bug-guile@gnu.org; Tue, 08 Jun 2010 05:49:20 -0400 Original-Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 38305170BF9 for ; Tue, 8 Jun 2010 02:49:18 -0700 (PDT) Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.stanford.edu (Postfix) with ESMTPS id C666E170A82 for ; Tue, 8 Jun 2010 02:49:17 -0700 (PDT) Original-Received: from ccrma.Stanford.EDU (localhost.localdomain [127.0.0.1]) by cm-mail.stanford.edu (8.13.8/8.13.8) with ESMTP id o589nHHA012807 for ; Tue, 8 Jun 2010 02:49:17 -0700 X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 67.188.235.166 (bil) X-Virus-Scanned: clamav-milter 0.96 at cm-mail.stanford.edu X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4624 Archived-At: > Let me know if I'm missing something here. Independent of standards, it means your arithmetic is inconsistent: scheme@(guile-user)> (= -0.0 0.0) #t scheme@(guile-user)> (= +inf.0 +inf.0) #t scheme@(guile-user)> (= 1.0 1.0) #t scheme@(guile-user)> (= (/ 1.0 0.0) +inf.0) #t scheme@(guile-user)> (= (/ 1.0 0.0) (/ 1.0 -0.0)) #f