public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Gabriel F. T. Gomes" <gftg@linux.vnet.ibm.com>
To: libc-alpha@sourceware.org
Subject: [PATCH] powerpc: Shrink ULPs for float128
Date: Fri, 11 Aug 2017 14:01:00 -0000	[thread overview]
Message-ID: <20170811140124.30153-1-gftg@linux.vnet.ibm.com> (raw)

During the development of float128 on powerpc64le, the ulps have been
generated since early versions of the patches.  On those versions, the
functions gamma and pow10 were mistakenly thought to be part of the API.
After review, the functions were removed, however the ulps for them were
carried in the ulps file.

This patch removes such entries from the ulps file, as well as it
shrinks the ulps for the cpow and lgamma functions.

Tested for powerpc64le.

	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
---
 sysdeps/powerpc/fpu/libm-test-ulps | 36 ++++++++++--------------------------
 1 file changed, 10 insertions(+), 26 deletions(-)

diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index 7fb67446a5..d4d03311e3 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -1357,9 +1357,9 @@ ldouble: 4
 
 Function: Imaginary part of "cpow":
 float: 2
-float128: 9
+float128: 1
 ifloat: 2
-ifloat128: 9
+ifloat128: 1
 ildouble: 2
 ldouble: 2
 
@@ -2080,40 +2080,32 @@ ldouble: 1
 Function: "gamma":
 double: 3
 float: 4
-float128: 9
 idouble: 3
 ifloat: 4
-ifloat128: 9
 ildouble: 3
 ldouble: 3
 
 Function: "gamma_downward":
 double: 4
 float: 4
-float128: 9
 idouble: 4
 ifloat: 4
-ifloat128: 9
 ildouble: 15
 ldouble: 15
 
 Function: "gamma_towardzero":
 double: 4
 float: 3
-float128: 9
 idouble: 4
 ifloat: 3
-ifloat128: 9
 ildouble: 16
 ldouble: 16
 
 Function: "gamma_upward":
 double: 4
 float: 5
-float128: 9
 idouble: 4
 ifloat: 5
-ifloat128: 9
 ildouble: 11
 ldouble: 11
 
@@ -2272,40 +2264,40 @@ ldouble: 5
 Function: "lgamma":
 double: 3
 float: 4
-float128: 9
+float128: 5
 idouble: 3
 ifloat: 4
-ifloat128: 9
+ifloat128: 5
 ildouble: 3
 ldouble: 3
 
 Function: "lgamma_downward":
 double: 4
 float: 4
-float128: 9
+float128: 8
 idouble: 4
 ifloat: 4
-ifloat128: 9
+ifloat128: 8
 ildouble: 15
 ldouble: 15
 
 Function: "lgamma_towardzero":
 double: 4
 float: 3
-float128: 9
+float128: 5
 idouble: 4
 ifloat: 3
-ifloat128: 9
+ifloat128: 5
 ildouble: 16
 ldouble: 16
 
 Function: "lgamma_upward":
 double: 4
 float: 5
-float128: 9
+float128: 8
 idouble: 4
 ifloat: 5
-ifloat128: 9
+ifloat128: 8
 ildouble: 11
 ldouble: 11
 
@@ -2481,39 +2473,31 @@ ldouble: 1
 
 Function: "pow10":
 double: 2
-float128: 2
 idouble: 2
-ifloat128: 2
 ildouble: 1
 ldouble: 1
 
 Function: "pow10_downward":
 double: 2
 float: 1
-float128: 3
 idouble: 2
 ifloat: 1
-ifloat128: 3
 ildouble: 9
 ldouble: 9
 
 Function: "pow10_towardzero":
 double: 2
 float: 1
-float128: 3
 idouble: 2
 ifloat: 1
-ifloat128: 3
 ildouble: 9
 ldouble: 9
 
 Function: "pow10_upward":
 double: 2
 float: 1
-float128: 3
 idouble: 2
 ifloat: 1
-ifloat128: 3
 ildouble: 4
 ldouble: 4
 
-- 
2.13.4

             reply	other threads:[~2017-08-11 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 14:01 Gabriel F. T. Gomes [this message]
2017-08-16 19:47 ` Tulio Magno Quites Machado Filho
2017-08-22 18:31   ` Gabriel F. T. Gomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170811140124.30153-1-gftg@linux.vnet.ibm.com \
    --to=gftg@linux.vnet.ibm.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).