diff options
author | Robert Antoni Buj i Gelonch <robert.buj@gmail.com> | 2014-10-13 00:50:25 +0200 |
---|---|---|
committer | Matthew Francis <mjay.francis@gmail.com> | 2014-10-14 07:18:21 +0000 |
commit | 1210ad69d85ffff36da6506d945b6f4ebd0fd33d (patch) | |
tree | a398c581e4e1eaf454a0db24db8fc0d7f1b8e82d /connectivity | |
parent | Remove confusing TableReference::operator=() (diff) | |
download | core-1210ad69d85ffff36da6506d945b6f4ebd0fd33d.tar.gz core-1210ad69d85ffff36da6506d945b6f4ebd0fd33d.zip |
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@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/qa/complex/connectivity/dbase/DBaseNumericFunctions.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |