diff options
author | martijnhoekstra <martijnhoekstra@gmail.com> | 2015-12-11 10:28:12 +0100 |
---|---|---|
committer | martijnhoekstra <martijnhoekstra@gmail.com> | 2015-12-11 10:28:12 +0100 |
commit | b321cb672168cff491e4e69902b415df30620520 (patch) | |
tree | 63cbc0bdf971fa759d563fe0e71d9b8f18d920d6 /src/library | |
parent | 7b639f1ec70e1e3a08bc30243877fc60cd029e9e (diff) | |
download | scala-b321cb672168cff491e4e69902b415df30620520.tar.gz scala-b321cb672168cff491e4e69902b415df30620520.tar.bz2 scala-b321cb672168cff491e4e69902b415df30620520.zip |
change phrasing around eulers number for `log(x)`
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/math/package.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/library/scala/math/package.scala b/src/library/scala/math/package.scala index 631648eba4..a75979385c 100644 --- a/src/library/scala/math/package.scala +++ b/src/library/scala/math/package.scala @@ -60,11 +60,9 @@ package object math { def exp(x: Double): Double = java.lang.Math.exp(x) /** Returns the natural logarithm of a `double` value. - * - * The natural logarithm is the logarithm base Euler's number `e`. * * @param x the number to take the natural logarithm of - * @return the value `ln(x)` where ln is the natural lograrithm + * @return the value `logâ‚‘(x)` where `e` is Eulers number */ def log(x: Double): Double = java.lang.Math.log(x) |