# HG changeset patch # User Eli Zaretskii # Date 1014116634 0 # Node ID 90f3a1f6ee84b7ab5d5d6d9f4978b0bcba23d594 # Parent 0f448bd1bf9a219dee17ae99e4fe2670a6b3ccb1 (Math Functions): Document the optional second arg of atan. diff -r 0f448bd1bf9a -r 90f3a1f6ee84 lispref/numbers.texi --- a/lispref/numbers.texi Tue Feb 19 10:58:07 2002 +0000 +++ b/lispref/numbers.texi Tue Feb 19 11:03:54 2002 +0000 @@ -1046,8 +1046,8 @@ is out of range (outside [-1, 1]), then the result is a NaN. @end defun -@defun atan arg -The value of @code{(atan @var{arg})} is a number between +@defun atan y &optional x +The value of @code{(atan @var{y})} is a number between @ifnottex @minus{}pi/2 @end ifnottex @@ -1061,7 +1061,10 @@ @tex @math{\pi/2} @end tex -(exclusive) whose tangent is @var{arg}. +(exclusive) whose tangent is @var{y}. If the optional second +argument @var{x} is given, the value of @code{(atan y x)} is the +angle in radians between the vector @code{[@var{x}, @var{y}]} and the +@code{X} axis. @end defun @defun exp arg