summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.16
1 files changed, 4 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index df8ef0dd..42255176 100644
--- a/txr.1
+++ b/txr.1
@@ -8895,7 +8895,7 @@ If <number> an integer, it is simply returned.
If the argument is a float, then the value returned is a float.
For instance (floor 1.1) returns 1.0 rather than 1.
-.SS Functions sin, cos, tan, asin, acos, atan
+.SS Functions sin, cos, tan, asin, acos, atan, atan2
.TP
Syntax:
@@ -8904,6 +8904,7 @@ Syntax:
(cos <radians>)
(tan <radians>)
(atan <slope>)
+ (atan2 <y> <x>)
(asin <num>)
(acos <num>)
@@ -8915,7 +8916,8 @@ return a float result. The sin, cos and tan functions compute the sine and
cosine and tangent of the <radians> argument which represents an angle
expressed in radians. The atan, acos and asin are their respective inverse
functions. The <num> argument to asin and acos must be in the
-range -1.0 to 1.0.
+range -1.0 to 1.0. The atan2 function converts the rectilinear coordinates
+<x> and <y> to an angle in polar coordinates in the range [0, 2pi).
.SS Functions log, exp