(scm_divide): Correction to 1/complex and <any>/complex,
authorKevin Ryde <user42@zip.com.au>
Fri, 29 Apr 2005 22:59:22 +0000 (22:59 +0000)
committerKevin Ryde <user42@zip.com.au>
Fri, 29 Apr 2005 22:59:22 +0000 (22:59 +0000)
commit4c6e36a6e37ff5bc4da7655e125bc4e1c091dc2f
treec4680278b0b989cc106ac5acd3d2a3cf7091e167
parent597052a27bc05c4af62ad7a0da7a0eafe9b46372
(scm_divide): Correction to 1/complex and <any>/complex,
need to test abs(re)<abs(im) for choice of cases, otherwise divide by
zero when re==0 and im<0.  Reported by Jean Crepeau.
libguile/numbers.c