XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next
atan
Type: |
- |
function (subr) |
Source: |
- |
xlmath.c |
Syntax
- (atan expr [expr2])
- expr - the value of x as a floating point number/expression
expr2 - the value of y (default value is 1.0)
returns - the arctangent of x/y
Description
The 'atan' function returns the arc tangent of the 'expr'. The result is
in radians.
Examples
(atan 0.0) ; returns 0
(atan 1.0) ; returns 0.785398
(atan -1.0) ; returns -0.785398
(atan 0) ; returns 0
See the
atan
function in the XLISP 2.0 manual.
Back to Top
XLISP >
XLISP 2.0 -
Contents -
Reference -
Previous |
Next