diff options
-rw-r--r-- | sources/scala/runtime/compat/Math.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/runtime/compat/Math.scala b/sources/scala/runtime/compat/Math.scala index 8b563416e2..c543a170a6 100644 --- a/sources/scala/runtime/compat/Math.scala +++ b/sources/scala/runtime/compat/Math.scala @@ -15,7 +15,7 @@ object Math { val MAX_INT = java.lang.Integer.MAX_VALUE; val MIN_INT = java.lang.Integer.MIN_VALUE; - def log(x: Double): Double = Math.log(x); - def max(x: Int, y: Int): Int = Math.max(x, y); - def sqrt(x: Double): Double = Math.sqrt(x); + def log(x: Double): Double = java.lang.Math.log(x); + def max(x: Int, y: Int): Int = java.lang.Math.max(x, y); + def sqrt(x: Double): Double = java.lang.Math.sqrt(x); } |