[Haskell-cafe] ln, e

Daniel Fischer daniel.is.fischer at googlemail.com
Sun Jan 6 02:09:44 CET 2013


On Samstag, 5. Januar 2013, 16:03:23, Christopher Howard wrote:
> Hi. Are natural log and Euler's constant defined somewhere in base, or a
> convenience math module somewhere? I'm having trouble finding them with
> hayoo or system documentation.

The natural logarithm is simply `log`.

Euler's constant isn't defined anywhere, you get it (the best approximation, 
at least very nearly) with `exp 1`.



More information about the Haskell-Cafe mailing list