diff options
author | michelou <michelou@epfl.ch> | 2008-01-31 12:38:40 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-01-31 12:38:40 +0000 |
commit | 62c8424646b340e3d322cbedb70b7222aa780926 (patch) | |
tree | 313fc96dd31e9cf68b03472667b9662d56f6c87a /src/dotnet-library | |
parent | 7bee443fb82b9f637ba422c464acfb3340b9496c (diff) | |
download | scala-62c8424646b340e3d322cbedb70b7222aa780926.tar.gz scala-62c8424646b340e3d322cbedb70b7222aa780926.tar.bz2 scala-62c8424646b340e3d322cbedb70b7222aa780926.zip |
fixed #423, added integer square root (CLDC)
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/Math.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotnet-library/scala/Math.scala b/src/dotnet-library/scala/Math.scala index cb7abd19ae..4d03de9b77 100644 --- a/src/dotnet-library/scala/Math.scala +++ b/src/dotnet-library/scala/Math.scala @@ -97,7 +97,7 @@ object Math { def floor(x: Double): Double = System.Math.Floor(x) //def rint(x: Double): Double = System.Math.rint(x) - def atan2(x: Double, y: Double): Double = System.Math.Atan2(x, y) + def atan2(y: Double, x: Double): Double = System.Math.Atan2(y, x) def pow(x: Double, y: Double): Double = System.Math.Pow(x, y) def round(x: Float): Int = System.Math.Round(x).toInt def round(x: Double): Long = System.Math.Round(x).toLong |