public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] riscv: Update nofpu libm test ulps
@ 2024-01-17 22:01 Darius Rad
  2024-03-04 14:40 ` Carlos O'Donell
  0 siblings, 1 reply; 7+ messages in thread
From: Darius Rad @ 2024-01-17 22:01 UTC (permalink / raw)
  To: libc-alpha

Fixes two test failures.
---
 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] 7+ messages in thread

* Re: [PATCH] riscv: Update nofpu libm test ulps
  2024-01-17 22:01 [PATCH] riscv: Update nofpu libm test ulps Darius Rad
@ 2024-03-04 14:40 ` Carlos O'Donell
  2024-03-04 19:50   ` Darius Rad
  0 siblings, 1 reply; 7+ messages in thread
From: Carlos O'Donell @ 2024-03-04 14:40 UTC (permalink / raw)
  To: libc-alpha

On 1/17/24 17:01, Darius Rad wrote:
> Fixes two test failures.

Failed pre-commit CI. Fails to apply.

https://patchwork.sourceware.org/project/glibc/patch/ZahOJMx5QfoawWR5@bruce.bluespec.com/

Please update and send a v2?


> ---
>  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":

-- 
Cheers,
Carlos.


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

* Re: [PATCH] riscv: Update nofpu libm test ulps
  2024-03-04 14:40 ` Carlos O'Donell
@ 2024-03-04 19:50   ` Darius Rad
  0 siblings, 0 replies; 7+ messages in thread
From: Darius Rad @ 2024-03-04 19:50 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: libc-alpha

On Mon, Mar 04, 2024 at 09:40:58AM -0500, Carlos O'Donell wrote:
> On 1/17/24 17:01, Darius Rad wrote:
> > Fixes two test failures.
> 
> Failed pre-commit CI. Fails to apply.
> 
> https://patchwork.sourceware.org/project/glibc/patch/ZahOJMx5QfoawWR5@bruce.bluespec.com/
> 
> Please update and send a v2?
> 

Sure, will do.

> 
> > ---
> >  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":
> 
> -- 
> Cheers,
> Ca

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

* Re: [PATCH] riscv: Update nofpu libm test ulps
  2024-12-24 20:21 Darius Rad
@ 2025-01-03 21:02 ` Andreas K. Huettel
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas K. Huettel @ 2025-01-03 21:02 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]

Could you please send an updated version? This was before the last changes to the
math tests went in, sorry...

TIA, Andreas

Am Dienstag, 24. Dezember 2024, 21:21:06 Mitteleuropäische Normalzeit schrieb Darius Rad:
> Fixes 60 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..fc9733466a 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: 1
> +float: 1
> +ldouble: 1
> +
>  Function: "asin":
>  double: 1
>  ldouble: 1
> @@ -65,6 +70,11 @@ Function: "asinh_upward":
>  double: 3
>  ldouble: 4
>  
> +Function: "asinpi":
> +double: 1
> +float: 1
> +ldouble: 1
> +
>  Function: "atan":
>  double: 1
>  ldouble: 1
> @@ -84,6 +94,11 @@ Function: "atan2_upward":
>  double: 1
>  ldouble: 2
>  
> +Function: "atan2pi":
> +double: 1
> +float: 1
> +ldouble: 2
> +
>  Function: "atan_downward":
>  double: 1
>  ldouble: 2
> @@ -112,6 +127,11 @@ Function: "atanh_upward":
>  double: 3
>  ldouble: 4
>  
> +Function: "atanpi":
> +double: 1
> +float: 1
> +ldouble: 1
> +
>  Function: "cabs":
>  double: 1
>  ldouble: 1
> @@ -632,6 +652,11 @@ Function: "cosh_upward":
>  double: 1
>  ldouble: 3
>  
> +Function: "cospi":
> +double: 1
> +float: 1
> +ldouble: 1
> +
>  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: 1
> +float: 1
> +ldouble: 1
> +
>  Function: "tan":
>  ldouble: 1
>  
> @@ -1279,6 +1310,11 @@ Function: "tanh_upward":
>  double: 3
>  ldouble: 3
>  
> +Function: "tanpi":
> +double: 2
> +float: 2
> +ldouble: 2
> +
>  Function: "tgamma":
>  double: 9
>  ldouble: 4
> 


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [PATCH] riscv: Update nofpu libm test ulps
@ 2024-12-24 20:21 Darius Rad
  2025-01-03 21:02 ` Andreas K. Huettel
  0 siblings, 1 reply; 7+ messages in thread
From: Darius Rad @ 2024-12-24 20:21 UTC (permalink / raw)
  To: libc-alpha

Fixes 60 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..fc9733466a 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: 1
+float: 1
+ldouble: 1
+
 Function: "asin":
 double: 1
 ldouble: 1
@@ -65,6 +70,11 @@ Function: "asinh_upward":
 double: 3
 ldouble: 4
 
+Function: "asinpi":
+double: 1
+float: 1
+ldouble: 1
+
 Function: "atan":
 double: 1
 ldouble: 1
@@ -84,6 +94,11 @@ Function: "atan2_upward":
 double: 1
 ldouble: 2
 
+Function: "atan2pi":
+double: 1
+float: 1
+ldouble: 2
+
 Function: "atan_downward":
 double: 1
 ldouble: 2
@@ -112,6 +127,11 @@ Function: "atanh_upward":
 double: 3
 ldouble: 4
 
+Function: "atanpi":
+double: 1
+float: 1
+ldouble: 1
+
 Function: "cabs":
 double: 1
 ldouble: 1
@@ -632,6 +652,11 @@ Function: "cosh_upward":
 double: 1
 ldouble: 3
 
+Function: "cospi":
+double: 1
+float: 1
+ldouble: 1
+
 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: 1
+float: 1
+ldouble: 1
+
 Function: "tan":
 ldouble: 1
 
@@ -1279,6 +1310,11 @@ Function: "tanh_upward":
 double: 3
 ldouble: 3
 
+Function: "tanpi":
+double: 2
+float: 2
+ldouble: 2
+
 Function: "tgamma":
 double: 9
 ldouble: 4

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

* Re: [PATCH] riscv: Update nofpu libm test ulps
  2024-07-03 18:50 Darius Rad
@ 2024-07-03 19:07 ` Andreas K. Huettel
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas K. Huettel @ 2024-07-03 19:07 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Am Mittwoch, 3. Juli 2024, 20:50:59 CEST schrieb Darius Rad:
> Fixes 32 test failures.
> 
> ---
> I would appreciate it if someone could commit this for me as I do not have
> access.
> 

Thank you; pushed.

> ---
>  sysdeps/riscv/nofpu/libm-test-ulps | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/sysdeps/riscv/nofpu/libm-test-ulps b/sysdeps/riscv/nofpu/libm-test-ulps
> index d8cff3e077..9ad64d1d85 100644
> --- a/sysdeps/riscv/nofpu/libm-test-ulps
> +++ b/sysdeps/riscv/nofpu/libm-test-ulps
> @@ -972,6 +972,11 @@ double: 2
>  float: 1
>  ldouble: 3
>  
> +Function: "exp10m1":
> +double: 2
> +float: 1
> +ldouble: 1
> +
>  Function: "exp2":
>  double: 1
>  ldouble: 1
> @@ -989,6 +994,11 @@ double: 1
>  float: 1
>  ldouble: 2
>  
> +Function: "exp2m1":
> +double: 1
> +float: 1
> +ldouble: 1
> +
>  Function: "exp_downward":
>  double: 1
>  float: 1
> @@ -1161,6 +1171,11 @@ double: 2
>  float: 2
>  ldouble: 1
>  
> +Function: "log10p1":
> +double: 1
> +float: 1
> +ldouble: 3
> +
>  Function: "log1p":
>  double: 1
>  float: 1
> @@ -1198,6 +1213,11 @@ Function: "log2_upward":
>  double: 3
>  ldouble: 1
>  
> +Function: "log2p1":
> +double: 1
> +float: 1
> +ldouble: 3
> +
>  Function: "log_downward":
>  ldouble: 1
>  
> 


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

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

* [PATCH] riscv: Update nofpu libm test ulps
@ 2024-07-03 18:50 Darius Rad
  2024-07-03 19:07 ` Andreas K. Huettel
  0 siblings, 1 reply; 7+ messages in thread
From: Darius Rad @ 2024-07-03 18:50 UTC (permalink / raw)
  To: libc-alpha

Fixes 32 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 | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/sysdeps/riscv/nofpu/libm-test-ulps b/sysdeps/riscv/nofpu/libm-test-ulps
index d8cff3e077..9ad64d1d85 100644
--- a/sysdeps/riscv/nofpu/libm-test-ulps
+++ b/sysdeps/riscv/nofpu/libm-test-ulps
@@ -972,6 +972,11 @@ double: 2
 float: 1
 ldouble: 3
 
+Function: "exp10m1":
+double: 2
+float: 1
+ldouble: 1
+
 Function: "exp2":
 double: 1
 ldouble: 1
@@ -989,6 +994,11 @@ double: 1
 float: 1
 ldouble: 2
 
+Function: "exp2m1":
+double: 1
+float: 1
+ldouble: 1
+
 Function: "exp_downward":
 double: 1
 float: 1
@@ -1161,6 +1171,11 @@ double: 2
 float: 2
 ldouble: 1
 
+Function: "log10p1":
+double: 1
+float: 1
+ldouble: 3
+
 Function: "log1p":
 double: 1
 float: 1
@@ -1198,6 +1213,11 @@ Function: "log2_upward":
 double: 3
 ldouble: 1
 
+Function: "log2p1":
+double: 1
+float: 1
+ldouble: 3
+
 Function: "log_downward":
 ldouble: 1
 

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

end of thread, other threads:[~2025-01-03 21:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 22:01 [PATCH] riscv: Update nofpu libm test ulps Darius Rad
2024-03-04 14:40 ` Carlos O'Donell
2024-03-04 19:50   ` Darius Rad
2024-07-03 18:50 Darius Rad
2024-07-03 19:07 ` Andreas K. Huettel
2024-12-24 20:21 Darius Rad
2025-01-03 21:02 ` 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).