Update Nios II libm-test-ulps [committed]

Message ID alpine.DEB.2.22.394.2104011942010.427038@digraph.polyomino.org.uk
State New
Headers show
Series
  • Update Nios II libm-test-ulps [committed]
Related show

Commit Message

Joseph Myers April 1, 2021, 7:42 p.m.
-- 
Joseph S. Myers
joseph@codesourcery.com

Comments

Alejandro Colomar via Libc-alpha April 1, 2021, 8 p.m. | #1
On 01/04/2021 16:42, Joseph Myers wrote:
> diff --git a/sysdeps/nios2/libm-test-ulps b/sysdeps/nios2/libm-test-ulps

> index 8c3e9df547..2cbef489bb 100644

> --- a/sysdeps/nios2/libm-test-ulps

> +++ b/sysdeps/nios2/libm-test-ulps

> @@ -2,6 +2,7 @@

>  

>  # Maximal error of functions:

>  Function: "acos":

> +double: 1

>  float: 1

>  

>  Function: "acosh":

> @@ -9,17 +10,19 @@ double: 2

>  float: 2

>  

>  Function: "asin":

> +double: 1

>  float: 1

>  

>  Function: "asinh":

> -double: 1

> +double: 2

>  float: 2

>  

>  Function: "atan":

> +double: 1

>  float: 1

>  

>  Function: "atan2":

> -float: 1

> +float: 2

>  

>  Function: "atanh":

>  double: 2

> @@ -80,7 +83,7 @@ double: 1

>  float: 1

>  

>  Function: "cbrt":

> -double: 3

> +double: 4

>  float: 1

>  

>  Function: Real part of "ccos":

> @@ -112,6 +115,7 @@ double: 3

>  float: 3

>  

>  Function: Imaginary part of "clog":

> +double: 1

>  float: 1

>  

>  Function: Real part of "clog10":

> @@ -127,7 +131,7 @@ double: 1

>  float: 1

>  

>  Function: "cosh":

> -double: 1

> +double: 2

>  float: 2

>  

>  Function: Real part of "cpow":

> @@ -177,10 +181,11 @@ double: 1

>  float: 1

>  

>  Function: "erfc":

> -double: 3

> +double: 5

>  float: 3

>  

>  Function: "exp":

> +double: 1

>  float: 1

>  

>  Function: "exp10":

> @@ -256,7 +261,7 @@ double: 2

>  float: 2

>  

>  Function: "tgamma":

> -double: 5

> +double: 9

>  float: 8

>  

>  Function: "y0":

> 


Not really related to this patch, are you running the nios2 on a real
hardware or simulated one? For the latter, is it possible to run on
qemu and do we have a easy accessible linux image to it?
Joseph Myers April 1, 2021, 8:39 p.m. | #2
On Thu, 1 Apr 2021, Adhemerval Zanella via Libc-alpha wrote:

> Not really related to this patch, are you running the nios2 on a real

> hardware or simulated one? For the latter, is it possible to run on

> qemu and do we have a easy accessible linux image to it?


I'm using hardware.  I've no idea about the suitability of QEMU system 
emulation for Nios II glibc testing.

-- 
Joseph S. Myers
joseph@codesourcery.com

Patch

diff --git a/sysdeps/nios2/libm-test-ulps b/sysdeps/nios2/libm-test-ulps
index 8c3e9df547..2cbef489bb 100644
--- a/sysdeps/nios2/libm-test-ulps
+++ b/sysdeps/nios2/libm-test-ulps
@@ -2,6 +2,7 @@ 
 
 # Maximal error of functions:
 Function: "acos":
+double: 1
 float: 1
 
 Function: "acosh":
@@ -9,17 +10,19 @@  double: 2
 float: 2
 
 Function: "asin":
+double: 1
 float: 1
 
 Function: "asinh":
-double: 1
+double: 2
 float: 2
 
 Function: "atan":
+double: 1
 float: 1
 
 Function: "atan2":
-float: 1
+float: 2
 
 Function: "atanh":
 double: 2
@@ -80,7 +83,7 @@  double: 1
 float: 1
 
 Function: "cbrt":
-double: 3
+double: 4
 float: 1
 
 Function: Real part of "ccos":
@@ -112,6 +115,7 @@  double: 3
 float: 3
 
 Function: Imaginary part of "clog":
+double: 1
 float: 1
 
 Function: Real part of "clog10":
@@ -127,7 +131,7 @@  double: 1
 float: 1
 
 Function: "cosh":
-double: 1
+double: 2
 float: 2
 
 Function: Real part of "cpow":
@@ -177,10 +181,11 @@  double: 1
 float: 1
 
 Function: "erfc":
-double: 3
+double: 5
 float: 3
 
 Function: "exp":
+double: 1
 float: 1
 
 Function: "exp10":
@@ -256,7 +261,7 @@  double: 2
 float: 2
 
 Function: "tgamma":
-double: 5
+double: 9
 float: 8
 
 Function: "y0":