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.

Syntax:<br />

sign (number)<br />

Declaration:<br />

External functions (UDFs)<br />

DECLARE EXTERNAL FUNCTION sign<br />

DOUBLE PRECISION<br />

RETURNS INTEGER BY VALUE<br />

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

Library: ib_udf<br />

Added in: IB<br />

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

sin<br />

Description: Returns an angle's sine. The argument must be given in radians.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

sin (angle)<br />

Declaration:<br />

DECLARE EXTERNAL FUNCTION sin<br />

DOUBLE PRECISION<br />

RETURNS DOUBLE PRECISION BY VALUE<br />

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

Library: ib_udf<br />

Added in: IB<br />

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

sinh<br />

Description: Returns the hyperbolic sine of the argument.<br />

Result type: DOUBLE PRECISION<br />

Syntax:<br />

sinh (number)<br />

189

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

Saved successfully!

Ooh no, something went wrong!