Kaydet (Commit) 1210ad69 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Matthew Francis

connectivity: the value of Math.asin(0.0) is zero

Change-Id: Ic72750fcea93edf3457ccea4a357e9d2929a646c
Reviewed-on: https://gerrit.libreoffice.org/11941Reviewed-by: 's avatarMatthew Francis <mjay.francis@gmail.com>
Tested-by: 's avatarMatthew Francis <mjay.francis@gmail.com>
üst dea7cb8a
...@@ -359,7 +359,7 @@ public class DBaseNumericFunctions extends SubTestCase ...@@ -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 private void asin(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
{ {
final XRow row = execute(xRowRes, "ASIN(0) "); 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 private void atan(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment