diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-12-13 12:48:33 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-12-13 12:48:33 +0000 |
commit | 60231d47f3e026a756b2b9fd8e0a840ab1fea0a7 (patch) | |
tree | 6defac8a444c04955609441b085f323918c35b65 /src | |
parent | f1e049215534d15db013ed0b1c791d027719fb9b (diff) | |
download | scala-60231d47f3e026a756b2b9fd8e0a840ab1fea0a7.tar.gz scala-60231d47f3e026a756b2b9fd8e0a840ab1fea0a7.tar.bz2 scala-60231d47f3e026a756b2b9fd8e0a840ab1fea0a7.zip |
Removed Java5-specific calls from scala.Math
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/Math.scala | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/library/scala/Math.scala b/src/library/scala/Math.scala index e2ea4a72e6..aa74c67e67 100644 --- a/src/library/scala/Math.scala +++ b/src/library/scala/Math.scala @@ -53,18 +53,18 @@ object Math { def min(x: Double, y: Double): Double = java.lang.Math.min(x, y) // from Java 1.5 - def log10(x: Double): Double = java.lang.Math.log10(x) - def cbrt(x: Double): Double = java.lang.Math.cbrt(x) +// def log10(x: Double): Double = java.lang.Math.log10(x) +// def cbrt(x: Double): Double = java.lang.Math.cbrt(x) - def ulp(x: Double): Double = java.lang.Math.ulp(x) - def ulp(x: Float): Float = java.lang.Math.ulp(x) - def signum(x: Double): Double = java.lang.Math.signum(x) - def signum(x: Float): Float = java.lang.Math.signum(x) - def sinh(x: Double): Double = java.lang.Math.sinh(x) - def cosh(x: Double): Double = java.lang.Math.cosh(x) - def tanh(x: Double):Double = java.lang.Math.tanh(x) - def hypot(x: Double, y: Double): Double = java.lang.Math.hypot(x, y) - def expm1(x: Double): Double = java.lang.Math.expm1(x) - def log1p(x: Double): Double = java.lang.Math.log1p(x) +// def ulp(x: Double): Double = java.lang.Math.ulp(x) +// def ulp(x: Float): Float = java.lang.Math.ulp(x) +// def signum(x: Double): Double = java.lang.Math.signum(x) +// def signum(x: Float): Float = java.lang.Math.signum(x) +// def sinh(x: Double): Double = java.lang.Math.sinh(x) +// def cosh(x: Double): Double = java.lang.Math.cosh(x) +// def tanh(x: Double):Double = java.lang.Math.tanh(x) +// def hypot(x: Double, y: Double): Double = java.lang.Math.hypot(x, y) +// def expm1(x: Double): Double = java.lang.Math.expm1(x) +// def log1p(x: Double): Double = java.lang.Math.log1p(x) } |