Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@ATan2

Calculates the arc tangent using the tangent y/x of an angle.

Syntax

@ATan2( x ; y )

Parameters

x

Number or number list. The denominator of the tangent value y / x.

y

Number or number list. The numerator of the tangent value y / x.

Usage

If either parameter is a list, the function operates pair-wise on the list elements, and the return value is a list with the number of elements in the larger list.

Return value

angle

Number. An angle, in radians, from -pi through pi. This represents an angle between -180 and 180 degrees, depending on the sign of x and y (see the list below).

If
Then angle is in the range

x is positive

y is positive

0 to pi/2 (Quadrant I)

x is negative

y is positive

pi/2 to pi (Quadrant II)

x is negative

y is negative

-pi to -pi/2 (Quadrant III)

x is positive

y is negative

-pi/2 to 0 (Quadrant IV)

Language cross-reference

ATn2 function in LotusScript language

See examples

Examples: @ATan2
Related topics
@ATan
@Tan
@Pi
Performing arithmetic operations




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009