[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, 10 Apr 2014 21:08:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
address@hidden (Taylan Ulrich "Bayırlı/Kammer") writes:
> By the way, after installing GCC 4.8 from MacPorts and setting the CC
> environment variable to use it (executable "gcc-mp-4.8"), the above
> issues are resolved, but I get the following test failure now:
>
> 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
What does (sin -0.0) evaluate to?
My first guess is that at the C level, sin(-0.0) => 0.0 on your system,
although IEEE 754 and C11 (F.10.1.6) specify that sin(-0.0) => -0.0.
If my guess is incorrect, then please put a breakpoint in
'scm_c_make_polar' and see what's going wrong. Both 'ang' and 's'
should be -0.0, and then it should pass -0.0 as the second argument to
'scm_c_make_rectangular'.
Thanks,
Mark
- 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayırlı /Kammer, 2014/04/03
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayırlı /Kammer, 2014/04/09
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayırlı /Kammer, 2014/04/09
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Greg Troxel, 2014/04/10
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1,
Mark H Weaver <=
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayirli/Kammer, 2014/04/22
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Mark H Weaver, 2014/04/22
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayirli/Kammer, 2014/04/23
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Taylan Ulrich Bayirli/Kammer, 2014/04/24
- Re: 2.0.11 on OS X 10.9 / Xcode 5.1, Mark H Weaver, 2014/04/25