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
sealed
| x | An instance of <real>. |
| base: | An instance of <real>. Defaults to ℯ. |
| y | An instance of <float>. |