[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.0.11 on OS X 10.9 / Xcode 5.1
From: |
Mark H Weaver |
Subject: |
Re: 2.0.11 on OS X 10.9 / Xcode 5.1 |
Date: |
Thu, 24 Apr 2014 12:04:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Taylan Ulrich Bayirli/Kammer <address@hidden> wrote:
> Running numbers.test
> ;;; ("address@hidden" 1.0 -0.0)
> FAIL: numbers.test: string->number: valid complex number strings
>
> The issue seems to be that (imag-part address@hidden) => 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