diff options
author | 2021-05-18 08:46:49 (GMT) | |
---|---|---|
committer | 2021-05-18 08:46:49 (GMT) | |
commit | 6d008334bcfa76f8b46e61d9edb6dd5335cd6632 (patch) | |
tree | cd137ec7ab048fa32049a4322c10a0e27ba80c20 /packages/glibc/2.17/0068-glibc-ppc64le-46.patch | |
parent | f284f4149518de6e8c403a9392be8e817bfab2e8 (diff) | |
parent | 0088351811bf442aa2e7d35c564f36ca67a8a699 (diff) |
Merge pull request #1510 from messense/glibc-ppc64le-patches
Add GLIBC 2.17 support to powerpc64le-unknown-linux-gnu
Diffstat (limited to 'packages/glibc/2.17/0068-glibc-ppc64le-46.patch')
-rw-r--r-- | packages/glibc/2.17/0068-glibc-ppc64le-46.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/glibc/2.17/0068-glibc-ppc64le-46.patch b/packages/glibc/2.17/0068-glibc-ppc64le-46.patch new file mode 100644 index 0000000..6f3d1d9 --- /dev/null +++ b/packages/glibc/2.17/0068-glibc-ppc64le-46.patch @@ -0,0 +1,22 @@ +# +# On POWER this patch also fixes test-ildoubl and test-ldouble failures where tan +# rounded toward zero had acceptable 1 ULP error. Upstream is using 3 ULP, but +# we prefer to keep the bound tighter unless we have a reason not to. +# +# This is the ppc64le version which is required becuase it applies *after* another +# ppc64le patch that touches the same ULPs file. See glibc-power-libm-test-ulps.patch +# for the ppc64/ppc version. +# +diff -urN glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps +--- glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps 2014-07-25 22:07:06.280020855 -0400 ++++ glibc-2.17-c758a686/sysdeps/powerpc/fpu/libm-test-ulps 2014-07-25 22:26:54.650021033 -0400 +@@ -2644,6 +2644,9 @@ + Test "tan_towardzero (2)": + ildouble: 1 + ldouble: 1 ++Test "tan_towardzero (2) == -2.1850398632615189916433061023136825434320": ++ildouble: 1 ++ldouble: 1 + Test "tan_towardzero (3) == -0.1425465430742778052956354105339134932261": + float: 1 + ifloat: 1 |