| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Function: | logBase |
| Type: | Floating a => a -> a -> a |
| Class: | Floating |
| Description: | returns the logarithm of the second argument in the base of the first one |
| Related: | (**), exp, log |
Input: logBase 10 1000
Output: 3.0
Input: logBase (exp 1) (exp 4)
Output: 4.0