Harbour Reference Guide

 

LOG()

Returns the natural logarithm of a number.

Syntax

LOG( <nNumber> ) --> <nLog>

Arguments

<nNumber> Any numeric expression.

Returns

<nExponent> The natural logarithm of <nNumber>.

Description

This function returns the natural logarithm of the number <nNumber>. If <nNumber> is 0 or less than 0, a numeric overflow occurs, which is depicted on the display device as a series of asterisks. This function is the inverse of EXP().
Examples
      ? LOG(632512)
Status

Ready

Compliance

This function is CA-Clipper compliant.

Platforms

All

Files

Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30