From 62c8424646b340e3d322cbedb70b7222aa780926 Mon Sep 17 00:00:00 2001 From: michelou Date: Thu, 31 Jan 2008 12:38:40 +0000 Subject: fixed #423, added integer square root (CLDC) --- src/dotnet-library/scala/Math.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotnet-library') 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 -- cgit v1.2.3