> From:Mark H Weaver <[email protected]> > To:Mike Gran <[email protected]> > Cc:"[email protected]" <[email protected]> > Sent:Monday, January 31, 2011 2:42 PM > Subject:Re: Equality predicates, signed zeroes, R5RS and R6RS > > Mike Gran <[email protected]> writes: > > As an aside, as of a couple of months ago, it was possible to create > > the following seven versions of zero in Guile using the default reader. > > > > 0, ±0.0, ±0.0±0.0i > > Really? I don't understand how this could have happened. mem2complex > uses scm_make_rectangular to create complex numbers, and > scm_make_rectangular calls scm_c_make_rectangular, which creates a real > if the imaginary part is zero.
Sorry, I was completely wrong with that. I was looking at the output for few different Schemes, and I got confused. As you say, Guile 2.0 only gets you, 0 and ±0.0. Sorry for the noise. -Mike
