ATAN2

Contents


atan2 returns the arc-tangent of the relationship between its parameters.

 

Syntax

   atan2(num_exp1, num_exp2)

 

Parameters

Element

Description

Restrictions

num_exp1

Numeric Expression

num_exp1 <> 0 if
num_exp2 = 0

num_exp2

Numeric Expression

num_exp2 <> 0 if
num_exp1 = 0

 

Examples

   Y = atan2(90,3)

 

Description and Comments

This function returns the value atan (exp_num1 / exp_num2) expressed in the current angular mode.

The result is the Double type.

 

Associated Errors

Error

Description

ERMODE (10)

One of the parameters is not numeric.

ERDOM (50)

Both parameters are null simultaneously.

 

Associated Keywords

ATAN - ANGLE - SIN - COS - TAN - ASIN - ACOS - ADXMDA


CONTENTS


Copyright © Sage 1999 - 2007