From 1210ad69d85ffff36da6506d945b6f4ebd0fd33d Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj i Gelonch Date: Mon, 13 Oct 2014 00:50:25 +0200 Subject: connectivity: the value of Math.asin(0.0) is zero Change-Id: Ic72750fcea93edf3457ccea4a357e9d2929a646c Reviewed-on: https://gerrit.libreoffice.org/11941 Reviewed-by: Matthew Francis Tested-by: Matthew Francis --- connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/qa') diff --git a/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java b/connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java index f18b35c34c87..4006910d64ea 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 -- cgit