public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2] riscv: Update nofpu libm test ulps
@ 2024-03-06 18:08 Darius Rad
  2024-03-11 13:19 ` Florian Weimer
  0 siblings, 1 reply; 6+ messages in thread
From: Darius Rad @ 2024-03-06 18:08 UTC (permalink / raw)
  To: libc-alpha

Fix two test failures.
---
Changes since v1:
  - Rebase to master
  - Fix corrupted diff line in patch

 sysdeps/riscv/nofpu/libm-test-ulps | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/riscv/nofpu/libm-test-ulps b/sysdeps/riscv/nofpu/libm-test-ulps
index 16106f10b0..bc7e615177 100644
--- a/sysdeps/riscv/nofpu/libm-test-ulps
+++ b/sysdeps/riscv/nofpu/libm-test-ulps
@@ -1043,6 +1043,7 @@ ldouble: 8
 
 Function: "hypot":
 double: 1
+float: 1
 ldouble: 1
 
 Function: "hypot_downward":
-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2] riscv: Update nofpu libm test ulps
@ 2025-01-08 20:03 Darius Rad
  2025-01-09 13:00 ` Andreas K. Huettel
  0 siblings, 1 reply; 6+ messages in thread
From: Darius Rad @ 2025-01-08 20:03 UTC (permalink / raw)
  To: libc-alpha

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-09 13:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 18:08 [PATCH v2] riscv: Update nofpu libm test ulps Darius Rad
2024-03-11 13:19 ` Florian Weimer
2024-03-11 18:56   ` Darius Rad
2024-03-18 10:29     ` Florian Weimer
2025-01-08 20:03 Darius Rad
2025-01-09 13:00 ` Andreas K. Huettel

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).