[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]

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.)