public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Darius Rad <darius@bluespec.com>
To: libc-alpha@sourceware.org
Subject: [PATCH v2] riscv: Update nofpu libm test ulps
Date: Wed, 8 Jan 2025 15:03:56 -0500	[thread overview]
Message-ID: <Z37aLOS-Ko9HVVRt@localhost.localdomain> (raw)

Fixes math test failures.

---
I would appreciate it if someone could commit this for me as I do not have
access.

---
 sysdeps/riscv/nofpu/libm-test-ulps | 44 ++++++++++++++++++++++++++++++++++----
 1 file changed, 40 insertions(+), 4 deletions(-)

diff --git a/sysdeps/riscv/nofpu/libm-test-ulps b/sysdeps/riscv/nofpu/libm-test-ulps
index 055826625c..d971ee20b9 100644
--- a/sysdeps/riscv/nofpu/libm-test-ulps
+++ b/sysdeps/riscv/nofpu/libm-test-ulps
@@ -33,6 +33,11 @@ Function: "acosh_upward":
 double: 2
 ldouble: 2
 
+Function: "acospi":
+double: 2
+float: 1
+ldouble: 2
+
 Function: "asin":
 double: 1
 ldouble: 1
@@ -65,6 +70,11 @@ Function: "asinh_upward":
 double: 3
 ldouble: 4
 
+Function: "asinpi":
+double: 1
+float: 1
+ldouble: 2
+
 Function: "atan":
 double: 1
 ldouble: 1
@@ -84,6 +94,11 @@ Function: "atan2_upward":
 double: 1
 ldouble: 2
 
+Function: "atan2pi":
+double: 1
+float: 1
+ldouble: 3
+
 Function: "atan_downward":
 double: 1
 ldouble: 2
@@ -112,6 +127,11 @@ Function: "atanh_upward":
 double: 3
 ldouble: 4
 
+Function: "atanpi":
+double: 2
+float: 1
+ldouble: 2
+
 Function: "cabs":
 double: 1
 ldouble: 1
@@ -632,6 +652,11 @@ Function: "cosh_upward":
 double: 1
 ldouble: 3
 
+Function: "cospi":
+double: 2
+float: 2
+ldouble: 2
+
 Function: Real part of "cpow":
 double: 2
 float: 5
@@ -677,6 +702,7 @@ float: 1
 ldouble: 1
 
 Function: Imaginary part of "csin":
+float: 1
 ldouble: 1
 
 Function: Real part of "csin_downward":
@@ -925,8 +951,8 @@ float: 1
 ldouble: 3
 
 Function: "exp10m1":
-double: 2
-ldouble: 1
+double: 3
+ldouble: 3
 
 Function: "exp2":
 double: 1
@@ -946,8 +972,8 @@ float: 1
 ldouble: 2
 
 Function: "exp2m1":
-double: 1
-ldouble: 1
+double: 2
+ldouble: 2
 
 Function: "exp_downward":
 double: 1
@@ -1248,6 +1274,11 @@ Function: "sinh_upward":
 double: 3
 ldouble: 4
 
+Function: "sinpi":
+double: 2
+float: 2
+ldouble: 2
+
 Function: "tan":
 ldouble: 1
 
@@ -1279,6 +1310,11 @@ Function: "tanh_upward":
 double: 3
 ldouble: 3
 
+Function: "tanpi":
+double: 3
+float: 3
+ldouble: 3
+
 Function: "tgamma":
 double: 9
 ldouble: 4

             reply	other threads:[~2025-01-08 20:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 20:03 Darius Rad [this message]
2025-01-09 13:00 ` Andreas K. Huettel
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06 18:08 Darius Rad
2024-03-11 13:19 ` Florian Weimer
2024-03-11 18:56   ` Darius Rad
2024-03-18 10:29     ` Florian Weimer

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=Z37aLOS-Ko9HVVRt@localhost.localdomain \
    --to=darius@bluespec.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).