21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Better alternative: Internal function ATAN()<br />

Description: Returns the arc tangent of the argument.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

atan (number)<br />

Declaration:<br />

External functions (UDFs)<br />

DECLARE EXTERNAL FUNCTION atan<br />

DOUBLE PRECISION<br />

RETURNS DOUBLE PRECISION BY VALUE<br />

ENTRY_POINT 'IB_UDF_atan' MODULE_NAME 'ib_udf'<br />

Library: ib_udf<br />

Added in: IB<br />

Better alternative: Internal function ATAN2()<br />

atan2<br />

Description: Returns the angle whose sine-to-cosine ratio is given by the two arguments, and whose sine and<br />

cosine signs correspond to the signs of the arguments. This allows results across the entire circle, including the<br />

angles -#/2 and #/2.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

atan2 (num1, num2)<br />

Declaration:<br />

DECLARE EXTERNAL FUNCTION atan2<br />

DOUBLE PRECISION, DOUBLE PRECISION<br />

RETURNS DOUBLE PRECISION BY VALUE<br />

ENTRY_POINT 'IB_UDF_atan2' MODULE_NAME 'ib_udf'<br />

Library: ib_udf<br />

Added in: IB<br />

bin_and<br />

171

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!