aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorEli Zaretskii2002-02-19 11:03:54 +0000
committerEli Zaretskii2002-02-19 11:03:54 +0000
commitf120431c7ecafeded71dda4c2498dca8c9a8849e (patch)
treee7f78efaa2a773af083c63d701902ae082287c55 /lispref
parent250ffca65ee61183ebab25a4a301444cb9a51e9c (diff)
downloademacs-f120431c7ecafeded71dda4c2498dca8c9a8849e.tar.gz
emacs-f120431c7ecafeded71dda4c2498dca8c9a8849e.zip
(Math Functions): Document the optional second arg of atan.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/numbers.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/lispref/numbers.texi b/lispref/numbers.texi
index 9689d5cedfe..e13bd04117a 100644
--- a/lispref/numbers.texi
+++ b/lispref/numbers.texi
@@ -1046,8 +1046,8 @@ pi
1046is out of range (outside [-1, 1]), then the result is a NaN. 1046is out of range (outside [-1, 1]), then the result is a NaN.
1047@end defun 1047@end defun
1048 1048
1049@defun atan arg 1049@defun atan y &optional x
1050The value of @code{(atan @var{arg})} is a number between 1050The value of @code{(atan @var{y})} is a number between
1051@ifnottex 1051@ifnottex
1052@minus{}pi/2 1052@minus{}pi/2
1053@end ifnottex 1053@end ifnottex
@@ -1061,7 +1061,10 @@ pi/2
1061@tex 1061@tex
1062@math{\pi/2} 1062@math{\pi/2}
1063@end tex 1063@end tex
1064(exclusive) whose tangent is @var{arg}. 1064(exclusive) whose tangent is @var{y}. If the optional second
1065argument @var{x} is given, the value of @code{(atan y x)} is the
1066angle in radians between the vector @code{[@var{x}, @var{y}]} and the
1067@code{X} axis.
1065@end defun 1068@end defun
1066 1069
1067@defun exp arg 1070@defun exp arg