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.

Internal functions<br />

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

Important<br />

If the external function COS 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 />

COSH()<br />

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

Result type: DOUBLE PRECISION<br />

Syntax:<br />

COSH (number)<br />

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

Important<br />

If the external function COSH 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 />

COT()<br />

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

Result type: DOUBLE PRECISION<br />

Syntax:<br />

COT (angle)<br />

Important<br />

If the external function COT 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 />

134

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

Saved successfully!

Ooh no, something went wrong!