tan

Declaration

double* function tan(double* X)

Description

tan returns the tangent of X..

Example Stored Procedure

CREATE PROCEDURE test_tan (X DOUBLE PRECISION)

RETURNS (result DOUBLE PRECISION) AS

BEGIN

result = tan(X);

END!!

WISQL - calling the example stored procedure

execute procedure test_tan( 1 );

RESULT

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

1.557407724654902

execute procedure test_tan( 100 );

RESULT

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

-0.587213915156929

execute procedure test_tan( 100.2 );

RESULT

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

-0.343603346165805