log

Returns the exponent of a number.  The log function scales large numbers, so that, e.g., data points with a very large spread can be viewed together.  log assumes ℯ as the base, but you may change that by supplying a different value.  For example,

log(100000, base: 10) ⇒ 5.0

Exported from

Modifiers

sealed

Arguments

xAn instance of <real>.
base:An instance of <real>.  Defaults to ℯ.

Values

yAn instance of <float>.
Returns the exponent of a number.
The transcendental module.
This is the re-named and re-exported Module transcendental of Library transcendental.
The class of real numbers.
The class of floating-point numbers.