summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2016-08-23 12:41:18 +0300
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-27 19:23:20 +0200
commitf9d8ce5ae0ed1e1a639ddc9b2b64726eab569c66 (patch)
treeb7ef46d8d6e23571a8ad6a8300de42635b1cd5b6 /test
parent939014ddce98bd07c774815a7f0cf379c8bde38d (diff)
ARC: Fix max ULP for cosine test
Max ULP for "cos (M_PI_6l * 2.0) == 0.5" in "test-double" sub-test is set to "0" for ARC. It causes "test-double" test failure. I realized that this sub-test on ARM gets completely same results. But it doesn't fails on ARM because max ULP is set to "1" for ARM. I am wondering, if it was done for any special reason? Otherwise, set max ULP for "cos (M_PI_6l * 2.0) == 0.5" test to "1" instead of "0" for ARC. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Diffstat (limited to 'test')
-rw-r--r--test/math/libm-test-ulps-arc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/math/libm-test-ulps-arc b/test/math/libm-test-ulps-arc
index 7139447dc..46b2ac559 100644
--- a/test/math/libm-test-ulps-arc
+++ b/test/math/libm-test-ulps-arc
@@ -2,6 +2,7 @@
# cos
Test "cos (M_PI_6l * 2.0) == 0.5":
+double: 1
idouble: 1
Test "cos (M_PI_6l * 4.0) == -0.5":
double: 2