Firebird Documentation Index → Firebird 2.5 Language Ref. Update → External functions (UDFs) → 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'
Firebird Documentation Index → Firebird 2.5 Language Ref. Update → External functions (UDFs) → atan2 |