meta data for this page
atan2
Library: ib_udf
Added in: IB
Better alternative: Internal function ATAN2()
Description
Returns the angle whose sine-to-cosine ratio is given by the two arguments, and whose sine and cosine signs correspond to the signs of the arguments. This allows results across the entire circle, including the angles -#/2 and #/2.
Result type: DOUBLE PRECISION
Syntax
atan2 (num1, num2)
Declaration
DECLARE EXTERNAL FUNCTION atan2 DOUBLE PRECISION, DOUBLE PRECISION RETURNS DOUBLE PRECISION BY VALUE ENTRY_POINT 'IB_UDF_atan2' MODULE_NAME 'ib_udf'