Commit bd0f7fd3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(solar-atn2): Give correct quadrant for arctan.

parent d262de61
......@@ -262,7 +262,7 @@ Returns nil if nothing was entered."
"Arctan of point X, Y."
(if (= x 0)
(if (> y 0) 90 270)
(solar-arctan (/ y x) x)))
(solar-arctan (/ y x) (solar-xy-to-quadrant x y))))
(defun solar-arccos (x)
"Arcos of X."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment