(solar-atn2): Give correct quadrant for arctan.
This commit is contained in:
parent
d262de61ff
commit
bd0f7fd3df
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue