summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormartijnhoekstra <martijnhoekstra@gmail.com>2015-12-11 10:28:12 +0100
committermartijnhoekstra <martijnhoekstra@gmail.com>2015-12-11 10:28:12 +0100
commitb321cb672168cff491e4e69902b415df30620520 (patch)
tree63cbc0bdf971fa759d563fe0e71d9b8f18d920d6 /src
parent7b639f1ec70e1e3a08bc30243877fc60cd029e9e (diff)
downloadscala-b321cb672168cff491e4e69902b415df30620520.tar.gz
scala-b321cb672168cff491e4e69902b415df30620520.tar.bz2
scala-b321cb672168cff491e4e69902b415df30620520.zip
change phrasing around eulers number for `log(x)`
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/math/package.scala4
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)