public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [comitted PATCH][AArch64] Regenerate libm-test-ulps
@ 2016-07-18 12:12 Szabolcs Nagy
  2016-07-20  7:04 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Szabolcs Nagy @ 2016-07-18 12:12 UTC (permalink / raw)
  To: GNU C Library; +Cc: nd

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

2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/aarch64/libm-test-ulps: Regenerated.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: libm-ulp.diff --]
[-- Type: text/x-patch; name=libm-ulp.diff, Size: 981 bytes --]

diff --git a/sysdeps/aarch64/libm-test-ulps b/sysdeps/aarch64/libm-test-ulps
index bc5795b..1ec8d03 100644
--- a/sysdeps/aarch64/libm-test-ulps
+++ b/sysdeps/aarch64/libm-test-ulps
@@ -40,9 +40,9 @@ ildouble: 2
 ldouble: 2
 
 Function: "acosh_downward":
-double: 1
+double: 2
 float: 2
-idouble: 1
+idouble: 2
 ifloat: 2
 ildouble: 3
 ldouble: 3
@@ -1347,16 +1347,16 @@ ldouble: 5
 
 Function: Real part of "ctan_towardzero":
 double: 5
-float: 3
+float: 2
 idouble: 5
-ifloat: 3
+ifloat: 2
 ildouble: 4
 ldouble: 4
 
 Function: Imaginary part of "ctan_towardzero":
-double: 2
+double: 1
 float: 2
-idouble: 2
+idouble: 1
 ifloat: 2
 ildouble: 5
 ldouble: 5
@@ -1910,16 +1910,16 @@ ildouble: 1
 ldouble: 1
 
 Function: "log_towardzero":
-float: 1
-ifloat: 1
+float: 2
+ifloat: 2
 ildouble: 2
 ldouble: 2
 
 Function: "log_upward":
 double: 1
-float: 1
+float: 2
 idouble: 1
-ifloat: 1
+ifloat: 2
 ildouble: 1
 ldouble: 1
 

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

* Re: [comitted PATCH][AArch64] Regenerate libm-test-ulps
  2016-07-18 12:12 [comitted PATCH][AArch64] Regenerate libm-test-ulps Szabolcs Nagy
@ 2016-07-20  7:04 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2016-07-20  7:04 UTC (permalink / raw)
  To: Szabolcs Nagy; +Cc: GNU C Library, nd

On 2016-07-18 11:45, Szabolcs Nagy wrote:
> 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
> 
> 	* sysdeps/aarch64/libm-test-ulps: Regenerated.

This patch has reduced the aarch64 ULPs and cause the ctan_towardzero to
fail here. Note that I build using GCC 6. Here are the failures:

testing double (without inline functions)
Failure: Test: Imaginary part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          9.1013340476761850e-01   0x1.d1fd0170f2b6fp-1
 should be:   9.1013340476761828e-01   0x1.d1fd0170f2b6dp-1
 difference:  2.2204460492503130e-16   0x1.0000000000000p-52
 ulp       :  2.0000
 max.ulp   :  1.0000
Maximal error of real part of: ctan_towardzero
 is      : 5 ulp
 accepted: 5 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 1 ulp

Test suite completed:
  91530 test cases plus 82998 tests for exception flags and
    82998 tests for errno executed.
  2 errors occurred.

----------

testing double (finite-math-only)
Failure: Test: Imaginary part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          9.1013340476761850e-01   0x1.d1fd0170f2b6fp-1
 should be:   9.1013340476761828e-01   0x1.d1fd0170f2b6dp-1
 difference:  2.2204460492503130e-16   0x1.0000000000000p-52
 ulp       :  2.0000
 max.ulp   :  1.0000
Maximal error of real part of: ctan_towardzero
 is      : 5 ulp
 accepted: 5 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 1 ulp

Test suite completed:
  74558 test cases plus 67154 tests for exception flags and
    0 tests for errno executed.
  2 errors occurred.

----------

testing float (without inline functions)
Failure: Test: Real part of: ctan_towardzero (-0x2p+0 - 0x3p+0 i)
Result:
 is:          3.76402633e-03   0x1.ed5bc4p-9
 should be:   3.76402563e-03   0x1.ed5bbep-9
 difference:  6.98491930e-10   0x1.800000p-31
 ulp       :  3.0000
 max.ulp   :  2.0000
Failure: Test: Real part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          2.44635969e-01   0x1.f503b4p-3
 should be:   2.44635924e-01   0x1.f503aep-3
 difference:  4.47034835e-08   0x1.800000p-25
 ulp       :  3.0000
 max.ulp   :  2.0000
Maximal error of real part of: ctan_towardzero
 is      : 3 ulp
 accepted: 2 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 2 ulp

Test suite completed:
  62838 test cases plus 56226 tests for exception flags and
    56226 tests for errno executed.
  3 errors occurred.

----------

testing float (finite-math-only)
Failure: Test: Real part of: ctan_towardzero (-0x2p+0 - 0x3p+0 i)
Result:
 is:          3.76402633e-03   0x1.ed5bc4p-9
 should be:   3.76402563e-03   0x1.ed5bbep-9
 difference:  6.98491930e-10   0x1.800000p-31
 ulp       :  3.0000
 max.ulp   :  2.0000
Failure: Test: Real part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          2.44635969e-01   0x1.f503b4p-3
 should be:   2.44635924e-01   0x1.f503aep-3
 difference:  4.47034835e-08   0x1.800000p-25
 ulp       :  3.0000
 max.ulp   :  2.0000
Maximal error of real part of: ctan_towardzero
 is      : 3 ulp
 accepted: 2 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 2 ulp

Test suite completed:
  47034 test cases plus 41550 tests for exception flags and
    0 tests for errno executed.
  3 errors occurred.

----------

testing double (inline functions)
Failure: Test: Imaginary part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          9.1013340476761850e-01   0x1.d1fd0170f2b6fp-1
 should be:   9.1013340476761828e-01   0x1.d1fd0170f2b6dp-1
 difference:  2.2204460492503130e-16   0x1.0000000000000p-52
 ulp       :  2.0000
 max.ulp   :  1.0000
Maximal error of real part of: ctan_towardzero
 is      : 5 ulp
 accepted: 5 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 1 ulp

Test suite completed:
  90882 test cases plus 0 tests for exception flags and
    0 tests for errno executed.
  2 errors occurred.

testing float (inline functions)
Failure: Test: Real part of: ctan_towardzero (-0x2p+0 - 0x3p+0 i)
Result:
 is:          3.76402633e-03   0x1.ed5bc4p-9
 should be:   3.76402563e-03   0x1.ed5bbep-9
 difference:  6.98491930e-10   0x1.800000p-31
 ulp       :  3.0000
 max.ulp   :  2.0000
Failure: Test: Real part of: ctan_towardzero (0x8p+124 + 0x1p+0 i)
Result:
 is:          2.44635969e-01   0x1.f503b4p-3
 should be:   2.44635924e-01   0x1.f503aep-3
 difference:  4.47034835e-08   0x1.800000p-25
 ulp       :  3.0000
 max.ulp   :  2.0000
Maximal error of real part of: ctan_towardzero
 is      : 3 ulp
 accepted: 2 ulp
Maximal error of imaginary part of: ctan_towardzero
 is      : 2 ulp
 accepted: 2 ulp

Test suite completed:
  62414 test cases plus 0 tests for exception flags and
    0 tests for errno executed.
  3 errors occurred.


Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

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

end of thread, other threads:[~2016-07-20  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-18 12:12 [comitted PATCH][AArch64] Regenerate libm-test-ulps Szabolcs Nagy
2016-07-20  7:04 ` Aurelien Jarno

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