sin

Declaration

double* function sin(double* X)

Description

sin returns the sine of X.. The angle X is expressed in radians.

Example Stored Procedure

CREATE PROCEDURE test_sin (X DOUBLE PRECISION)

RETURNS (result DOUBLE PRECISION) AS

BEGIN

result = sin(X);

END!!

WISQL - calling the example stored procedure

execute procedure test_sin( 1 );

RESULT

======================

0.8414709848078965

execute procedure test_sin( 100 );

RESULT

======================

-0.5063656411097588

execute procedure test_sin( 100.2 );

RESULT

======================

-0.3249557277294789