ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: log
Type: Floating a => a -> a
Class: Floating
Description: returns natural logarithm of the argument
Related: (**), exp, logBase

Example 1

Input: log 10

Output: 2.30259

Example 2

Input: log 2.718

Output: 0.999896

Example 3

Input: log (exp 1)

Output: 1.0