From: Richard Hodges
Subject: Serious bug in complex arithmetic, CMULISP 17f
Date:
Message-ID: <41j29u$etp@agate.berkeley.edu>
From my CMULISP 17f running under Irix 5.3:
* (- 0.0 #C( 1.0 1.0))
#C(-1.0 1.0) WRONG!
Also:
* (/ 2.0 #C(-1.0 -1.0))
#C(-1.0 1.0) WRONG!
Evidently a real first argument to - not getting properly
coerced to a complex! The / case is really puzzling.
However it works right for *:
* (* 2.0 #C(-1.0 -1.0))
#C(-2.0 -2.0)
Has anyone else seen this? Any fixes?
Regards,
Richard Hodges