[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: (BUG LISP) at MIT-MC
- From: JGA at MIT-MC (John G. Aspinall)
- Date: Fri, 26 Sep 80 22:34:00 GMT
- Cc: JGA at MIT-MC
- Original-date: 26 SEP 1980 1834-EDT
In Lisp (atan y x) returns answers in the range 0 to 2*pi.
But in Macsyma atan2(y,x); returns answers in the range -pi to pi.
I think that (a) the two should be consistent, and (b) Macsyma is
doing the right thing since it includes the entire principal
branch of the function.
I realize that a change like this might break some code, so can
I get the Macsyma-Lisp version from anywhere, so I can load it
with my code? (I'm writing a function for use in Macsyma so there
won't be any extra space taken up anyway.)