LOG INDEX

LOG _ _ _ _ _ _ _ _ _ _ _ _ operator

The log operator returns the natural logarithm of its argument.

syntax:

log(<expression>) or log <expression>

<expression> can be any valid scalar REDUCE expression.

examples:


log(x); 

  LOG(X) 


log 4; 

  LOG(4) 


log(e); 

  1 


on rounded; 

log 4; 

  1.38629436112

logreturns a numeric value only when rounded is on. In that case, use of a negative argument for log results in an error message. No error is given on a negative argument when REDUCE is not in that mode.