[Libreoffice-commits] core.git: connectivity/qa
Robert Antoni Buj i Gelonch
robert.buj at gmail.com
Tue Oct 14 00:18:45 PDT 2014
connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1210ad69d85ffff36da6506d945b6f4ebd0fd33d
Author: Robert Antoni Buj i Gelonch <robert.buj at gmail.com>
Date: Mon Oct 13 00:50:25 2014 +0200
connectivity: the value of Math.asin(0.0) is zero
Change-Id: Ic72750fcea93edf3457ccea4a357e9d2929a646c
Reviewed-on: https://gerrit.libreoffice.org/11941
Reviewed-by: Matthew Francis <mjay.francis at gmail.com>
Tested-by: Matthew Francis <mjay.francis at gmail.com>
diff --git a/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java b/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java
index f18b35c..4006910 100644
--- a/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java
+++ b/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java
@@ -359,7 +359,7 @@ public class DBaseNumericFunctions extends SubTestCase
private void asin(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
{
final XRow row = execute(xRowRes, "ASIN(0) ");
- assure("ASIN(0) failed!", (float) row.getDouble(1) == (float) Math.asin(0.0));
+ assure("ASIN(0) failed!", (float) row.getDouble(1) == 0.0);
}
private void atan(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
More information about the Libreoffice-commits
mailing list