Contents | Prev | Next

7.2.38 The ln function

Description

The ln function returns the natural logarithm of the parameter passed to it. The type of the value returned by this function is always real.

Parameter

The ln function's only parameter is a numeric expression (i.e. an expression of integral type or of real type).

Example

   ln(1)       returns   0.0
   ln(exp(1))  returns   1.0
   ln(100)     returns   4.61

Portability

Operating Systems: All
Standard Pascal: Yes

Contents | Prev | Next