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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Added in: <strong>2.1</strong><br />

Internal functions<br />

Description: Returns the sign of the argument: -1, 0 or 1.<br />

Result type: SMALLINT<br />

Syntax:<br />

SIGN (number)<br />

Important<br />

If the external function SIGN is declared in your database, it will override the internal function. To make the<br />

internal function available, DROP or ALTER the external function (UDF).<br />

Available in: DSQL, PSQL<br />

Added in: <strong>2.1</strong><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 />

• Any non-NULL result is – obviously – in the range [-1, 1].<br />

Important<br />

If the external function SIN is declared in your database, it will override the internal function. To make the<br />

internal function available, DROP or ALTER the external function (UDF).<br />

Available in: DSQL, PSQL<br />

Added in: <strong>2.1</strong><br />

SINH()<br />

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

Result type: DOUBLE PRECISION<br />

158

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

Saved successfully!

Ooh no, something went wrong!