log10

Declaration

double function log10(double X)

Description

log10 returns the logarithm of X..

Example Stored Procedure

CREATE PROCEDURE test_log10 (X DOUBLE PRECISION)

RETURNS (result DOUBLE PRECISION) AS

BEGIN

result = log10(X);

END!!

WISQL - calling the example stored procedure

execute procedure test_log10( 1);

RESULT

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

0

execute procedure test_log10(499);

RESULT

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

2.69810054562339

Error Results - restrictions on X are : X > 1.0e304

execute procedure test_log10(-1);

RESULT

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

-999999

execute procedure test_log10(.9e-304);

RESULT

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

-999999