From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: 2.0.11 on OS X 10.9 / Xcode 5.1 Date: Thu, 24 Apr 2014 12:04:53 -0400 Message-ID: <87ha5iaf2y.fsf@yeeloong.lan> References: <87vbuq435v.fsf@taylan.uni.cx> <87bnwak01s.fsf@taylan.uni.cx> <87zjjsfz9x.fsf@yeeloong.lan> <87mwfdo2h2.fsf@taylan.uni.cx> <87ppk9cor5.fsf@yeeloong.lan> <87a9bcndcy.fsf@taylan.uni.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398403554 12772 80.91.229.3 (25 Apr 2014 05:25:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2014 05:25:54 +0000 (UTC) Cc: guile-devel@gnu.org To: Taylan Ulrich Bayirli/Kammer Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 25 07:25:47 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WdYdu-0001Hc-PZ for guile-devel@m.gmane.org; Fri, 25 Apr 2014 07:25:46 +0200 Original-Received: from localhost ([::1]:55982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdYdu-0003Zm-Bl for guile-devel@m.gmane.org; Fri, 25 Apr 2014 01:25:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdUfv-0001I8-CN for guile-devel@gnu.org; Thu, 24 Apr 2014 21:12:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdMAX-0000QF-JF for guile-devel@gnu.org; Thu, 24 Apr 2014 12:06:45 -0400 Original-Received: from world.peace.net ([96.39.62.75]:34781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdMAX-0000Oa-Fx for guile-devel@gnu.org; Thu, 24 Apr 2014 12:06:37 -0400 Original-Received: from ip72-221-68-65.ri.ri.cox.net ([72.221.68.65] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WdMAL-0006BB-EW; Thu, 24 Apr 2014 12:06:25 -0400 In-Reply-To: <87a9bcndcy.fsf@taylan.uni.cx> (Taylan Ulrich Bayirli's message of "Wed, 23 Apr 2014 19:51:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17103 Archived-At: Taylan Ulrich Bayirli/Kammer wrote: > Running numbers.test > ;;; ("#i1@-0" 1.0 -0.0) > FAIL: numbers.test: string->number: valid complex number strings > > The issue seems to be that (imag-part #i1@-0) => 0.0 instead of -0.0, Taylan and I did some more debugging on IRC, and we determined that this is ultimately caused by a bug in the 'cexp' function in MacOS X's math library. The first two rules given in C11 G.6.3.1 imply that cexp(0.0-0.0i) must return 1.0-0.0i, but on MacOS the result is 1.0+0.0i. Mark