> On Dec 11, 2016, at 12:35 PM, Matt Wette <matt.we...@gmail.com> wrote:
> 
> With patches I can compile and run “make check”.  But now I have one 
> failure:t tests/numbers.test line 1663: (“#i1@-0” 1.0 -0.0).  
> 
> This wants the following to produce #t, but it does not:
> 
> scheme@(guile-user)> (define z (string->number "#i1@-0"))
> scheme@(guile-user)> (eqv? (imag-part z) -0.0)
> $7 = #f
> 

Sorry to keep posting on this.  I will stop soon.  I seem to get different 
problems every time I build 2.1.5 on my Mac.  I am using some different config 
options (e.g., with and without —disable-shared) and different compilers.  The 
above issue does not show up with the current build.   Note the following 
separate builds that give different values for the above:

mwette$ pwd
/Users/mwette/proj/scheme/guile/guile-2.1.5
mwette$ meta/guile -c '(display (eqv? (imag-part (string->number "#i1@-0")) 
-0.0))'
#f

mwette$ pwd
/Users/mwette/proj/scheme/guile/guile-2.1.5-2
mwette$ meta/guile -c '(display (eqv? (imag-part (string->number "#i1@-0")) 
-0.0))'
#t




Reply via email to