LOG

Contents


log returns the decimal logarithm of its parameter.

 

Syntax

   log(num_exp)

 

Parameters

Element

Description

Restrictions

num_exp

Numeric Expression

0 < exp_num < 1e80

 

Examples

 Y = log(pi)

 

Description and Comments

This function returns the parameter's decimal logarithm.

log is the inverse function of the power of 10 (log(10^X)=X).

The result type is Double.

 

Associated Errors

Error

Description

ERMODE (10)

The parameter is not numeric.

ERLOGN (14)

The parameter is negative.

ERLOGZ (52)

The parameter is null.

 

Associated Keywords

LN - EXP


CONTENTS


Copyright © Sage 1999 - 2007