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: 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

Example 1

Input: logBase 10 1000

Output: 3.0

Example 2

Input: logBase (exp 1) (exp 4)

Output: 4.0