Taylan Ulrich Bayirli/Kammer <taylanbayi...@gmail.com> 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