Next Previous Up Top Contents Index

7.2 The Transcendentals module

log

G.f. method

Summary

Returns the natural logarithm of its argument.

Signature

log x => y 

Arguments

x
An instance of type <real>.

Values

y
An instance of type <float>.

Library

common-extensions

Module

transcendentals

Description

Returns the natural logarithm of x to the base e. If x <= 0 <= 1, an error is signalled. The floating point precision of the result is given by the precision of x. The result is a single-float if x is an integer.

See also

See also exp, page 175, and logn, page 176.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index