[PATCH] Re: (gcd -2) -> -2

2008-09-17 Thread Neil Jerram
2008/8/12 Mikael Djurfeldt <[EMAIL PROTECTED]>: > 2008/8/12 Neil Jerram <[EMAIL PROTECTED]>: >> 2008/8/12 Bill Schottstaedt <[EMAIL PROTECTED]>: >>> gcd is supposed to ignore factors of -1. >> >> According to? (I'm not suggesting that you're wrong. I'd just like >> you to be precise about your re

Re: (< complex) and friends

2008-09-17 Thread Neil Jerram
This is mostly for the record, as I'm afraid I don't have any fix yet... 2008/8/12 Neil Jerram <[EMAIL PROTECTED]>: > 2008/8/11 Bill Schottstaedt <[EMAIL PROTECTED]>: >> guile> (< 1.0+1.0i) >> #t > My guess (without actually looking at the code) is that > - the single arg case is being optimized

Re: (< complex) and friends

2008-09-17 Thread Bill Schottstaedt
There are actually more problems in that area; for example: guile> (< 2 1 1.0+3.0i) #f which perhaps should be an error also. My druthers for the one arg case is to simply disallow it -- why does Guile support stuff like: guile> (<) #t