LoongArch: Update ulps

Message ID 20240619145544.4994-1-xry111@xry111.site
State Committed
Commit 9405d54c627948ff607154c41e32174f4eed49c5
Headers
Series LoongArch: Update ulps |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm warning Patch is already merged

Commit Message

Xi Ruoyao June 19, 2024, 2:55 p.m. UTC
  Add ulps for recently added C23 exp10m1, exp2m1, and log10p1 functions.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
 sysdeps/loongarch/lp64/libm-test-ulps | 60 +++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
  

Comments

Andreas K. Hüttel June 19, 2024, 7:19 p.m. UTC | #1
Thank you, pushed.

Am Mittwoch, 19. Juni 2024, 16:55:44 CEST schrieb Xi Ruoyao:
> Add ulps for recently added C23 exp10m1, exp2m1, and log10p1 functions.
> 
> Signed-off-by: Xi Ruoyao <xry111@xry111.site>
> ---
>  sysdeps/loongarch/lp64/libm-test-ulps | 60 +++++++++++++++++++++++++++
>  1 file changed, 60 insertions(+)
> 
> diff --git a/sysdeps/loongarch/lp64/libm-test-ulps b/sysdeps/loongarch/lp64/libm-test-ulps
> index f9db4d3eac..bdfd683454 100644
> --- a/sysdeps/loongarch/lp64/libm-test-ulps
> +++ b/sysdeps/loongarch/lp64/libm-test-ulps
> @@ -975,6 +975,26 @@ double: 2
>  float: 1
>  ldouble: 3
>  
> +Function: "exp10m1":
> +double: 2
> +float: 1
> +ldouble: 1
> +
> +Function: "exp10m1_downward":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "exp10m1_towardzero":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "exp10m1_upward":
> +double: 3
> +float: 1
> +ldouble: 3
> +
>  Function: "exp2":
>  double: 1
>  ldouble: 1
> @@ -992,6 +1012,26 @@ double: 1
>  float: 1
>  ldouble: 2
>  
> +Function: "exp2m1":
> +double: 1
> +float: 1
> +ldouble: 1
> +
> +Function: "exp2m1_downward":
> +double: 1
> +float: 1
> +ldouble: 2
> +
> +Function: "exp2m1_towardzero":
> +double: 2
> +float: 1
> +ldouble: 2
> +
> +Function: "exp2m1_upward":
> +double: 1
> +float: 1
> +ldouble: 2
> +
>  Function: "exp_downward":
>  double: 1
>  float: 1
> @@ -1165,6 +1205,26 @@ double: 2
>  float: 2
>  ldouble: 1
>  
> +Function: "log10p1":
> +double: 1
> +float: 1
> +ldouble: 3
> +
> +Function: "log10p1_downward":
> +double: 2
> +float: 1
> +ldouble: 2
> +
> +Function: "log10p1_towardzero":
> +double: 2
> +float: 2
> +ldouble: 2
> +
> +Function: "log10p1_upward":
> +double: 2
> +float: 1
> +ldouble: 3
> +
>  Function: "log1p":
>  double: 1
>  float: 1
>
  

Patch

diff --git a/sysdeps/loongarch/lp64/libm-test-ulps b/sysdeps/loongarch/lp64/libm-test-ulps
index f9db4d3eac..bdfd683454 100644
--- a/sysdeps/loongarch/lp64/libm-test-ulps
+++ b/sysdeps/loongarch/lp64/libm-test-ulps
@@ -975,6 +975,26 @@  double: 2
 float: 1
 ldouble: 3
 
+Function: "exp10m1":
+double: 2
+float: 1
+ldouble: 1
+
+Function: "exp10m1_downward":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "exp10m1_towardzero":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "exp10m1_upward":
+double: 3
+float: 1
+ldouble: 3
+
 Function: "exp2":
 double: 1
 ldouble: 1
@@ -992,6 +1012,26 @@  double: 1
 float: 1
 ldouble: 2
 
+Function: "exp2m1":
+double: 1
+float: 1
+ldouble: 1
+
+Function: "exp2m1_downward":
+double: 1
+float: 1
+ldouble: 2
+
+Function: "exp2m1_towardzero":
+double: 2
+float: 1
+ldouble: 2
+
+Function: "exp2m1_upward":
+double: 1
+float: 1
+ldouble: 2
+
 Function: "exp_downward":
 double: 1
 float: 1
@@ -1165,6 +1205,26 @@  double: 2
 float: 2
 ldouble: 1
 
+Function: "log10p1":
+double: 1
+float: 1
+ldouble: 3
+
+Function: "log10p1_downward":
+double: 2
+float: 1
+ldouble: 2
+
+Function: "log10p1_towardzero":
+double: 2
+float: 2
+ldouble: 2
+
+Function: "log10p1_upward":
+double: 2
+float: 1
+ldouble: 3
+
 Function: "log1p":
 double: 1
 float: 1