res : logarc(atan2(y,x))$
atan2(1,-1) => 3*%pi/4
The fix is to change the formula in $logarc and in
simpatan2. Currently, logarc(atan2(y,x)) => logarc(atan
(y/x)), which gives incorrect results as above.
This formula should be replaced by
Log in to post a comment.