arrfab / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-ppc64le-46.patch

147e83
#
147e83
# On POWER this patch also fixes test-ildoubl and test-ldouble failures where tan
147e83
# rounded toward zero had acceptable 1 ULP error. Upstream is using 3 ULP, but
147e83
# we prefer to keep the bound tighter unless we have a reason not to.
147e83
#
147e83
# This is the ppc64le version which is required becuase it applies *after* another
147e83
# ppc64le patch that touches the same ULPs file. See glibc-power-libm-test-ulps.patch
147e83
# for the ppc64/ppc version.
147e83
#
147e83
diff -urN glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps
147e83
--- glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps	2014-07-25 22:07:06.280020855 -0400
147e83
+++ glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps	2014-07-25 22:26:54.650021033 -0400
147e83
@@ -2644,6 +2644,9 @@
147e83
 Test "tan_towardzero (2)":
147e83
 ildouble: 1
147e83
 ldouble: 1
147e83
+Test "tan_towardzero (2) == -2.1850398632615189916433061023136825434320":
147e83
+ildouble: 1
147e83
+ldouble: 1
147e83
 Test "tan_towardzero (3) == -0.1425465430742778052956354105339134932261":
147e83
 float: 1
147e83
 ifloat: 1