diff options
| author | Sachin Monga <smonga@linux.ibm.com> | 2025-07-23 11:43:52 -0500 |
|---|---|---|
| committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2025-07-24 19:36:21 +0200 |
| commit | ce488f7c1615bc2f6fe96ff4d51456e470aa5805 (patch) | |
| tree | 4b8c2531de602404fb289c3ff85dc6bab5e2601c /math/auto-libm-test-out-pown | |
| parent | c7742069a658dd9d266f74587b7e91a579a49d40 (diff) | |
math: xfail some pown and compoundn tests for ibm128-libgcc
On powerpc math/test-ibm128-pown shows below failures:
testing long double (without inline functions)
infinity has wrong sign.
Failure: Test: pown_downward (-inf, 0x7fffffffffffffffLL)
Result:
is: inf inf
should be: -inf -inf
Failure: Test: pown_downward (-0, 9223372036854775807LL)
Result:
is: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
should be: -0.00000000000000000000000000000000e+00 -0x0.000000000000000000000000000p+0
difference: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
ulp : 0.0000
max.ulp : 16.0000
Failure: pown_downward (-0x1p+0, 9223372036854775807LL): Exception "Invalid operation" set
Failure: pown_downward (-0x1p+0, 9223372036854775807LL): errno set to 34, expected 0 (unchanged)
Failure: Test: pown_downward (-0x1p+0, 9223372036854775807LL)
Result:
is: qNaN
should be: -1.00000000000000000000000000000000e+00 -0x1.000000000000000000000000000p+0
infinity has wrong sign.
Failure: Test: pown_towardzero (-0, -0x7fffffffffffffffLL)
Result:
is: inf inf
should be: -inf -inf
infinity has wrong sign.
Failure: Test: pown_towardzero (-inf, 0x7fffffffffffffffLL)
Result:
is: inf inf
should be: -inf -inf
Failure: Test: pown_towardzero (-inf, -0x7fffffffffffffffLL)
Result:
is: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
should be: -0.00000000000000000000000000000000e+00 -0x0.000000000000000000000000000p+0
difference: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
ulp : 0.0000
max.ulp : 16.0000
Failure: Test: pown_towardzero (-0, 9223372036854775807LL)
Result:
is: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
should be: -0.00000000000000000000000000000000e+00 -0x0.000000000000000000000000000p+0
difference: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
ulp : 0.0000
max.ulp : 16.0000
Failure: pown_towardzero (-0x1p+0, -9223372036854775807LL): Exception "Invalid operation" set
Failure: pown_towardzero (-0x1p+0, -9223372036854775807LL): errno set to 34, expected 0 (unchanged)
Failure: Test: pown_towardzero (-0x1p+0, -9223372036854775807LL)
Result:
is: qNaN
should be: -1.00000000000000000000000000000000e+00 -0x1.000000000000000000000000000p+0
Failure: pown_towardzero (-0x1p+0, 9223372036854775807LL): Exception "Invalid operation" set
Failure: pown_towardzero (-0x1p+0, 9223372036854775807LL): errno set to 34, expected 0 (unchanged)
Failure: Test: pown_towardzero (-0x1p+0, 9223372036854775807LL)
Result:
is: qNaN
should be: -1.00000000000000000000000000000000e+00 -0x1.000000000000000000000000000p+0
infinity has wrong sign.
Failure: Test: pown_upward (-0, -0x7fffffffffffffffLL)
Result:
is: inf inf
should be: -inf -inf
Failure: Test: pown_upward (-inf, -0x7fffffffffffffffLL)
Result:
is: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
should be: -0.00000000000000000000000000000000e+00 -0x0.000000000000000000000000000p+0
difference: 0.00000000000000000000000000000000e+00 0x0.000000000000000000000000000p+0
ulp : 0.0000
max.ulp : 16.0000
Failure: pown_upward (-0x1p+0, -9223372036854775807LL): Exception "Invalid operation" set
Failure: pown_upward (-0x1p+0, -9223372036854775807LL): errno set to 34, expected 0 (unchanged)
Failure: Test: pown_upward (-0x1p+0, -9223372036854775807LL)
Result:
is: qNaN
should be: -1.00000000000000000000000000000000e+00 -0x1.000000000000000000000000000p+0
Likewise, math/test-ibm128-compoundn shows below failure:
testing long double (without inline functions)
Failure: compoundn_upward (0xf.ffffffffffff8p+1020, 1LL): Exception "Overflow" set
Failure: compoundn_upward (0xf.ffffffffffff8p+1020, 1LL): errno set to 34, expected 0 (unchanged)
Failure: Test: compoundn_upward (0xf.ffffffffffff8p+1020, 1LL)
Result:
is: inf inf
should be: 1.79769313486231570814527423731707e+308 0x1.fffffffffffff00000000000008p+1023
Signed-off-by: Sachin Monga <smonga@linux.ibm.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'math/auto-libm-test-out-pown')
| -rw-r--r-- | math/auto-libm-test-out-pown | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/math/auto-libm-test-out-pown b/math/auto-libm-test-out-pown index 502706296a..e58bc8e97b 100644 --- a/math/auto-libm-test-out-pown +++ b/math/auto-libm-test-out-pown @@ -824,29 +824,29 @@ pown -0 0x3ffffffffffffe = pown towardzero ibm128 -0x0p+0 18014398509481982LL : 0x0p+0 : inexact-ok = pown upward ibm128 -0x0p+0 18014398509481982LL : 0x0p+0 : inexact-ok pown -0 0x7fffffffffffffff -= pown downward binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary32 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown downward binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary64 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown downward intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward intel96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown downward m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward m68k96 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown downward binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown downward ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown downward ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok -= pown towardzero ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok += pown towardzero ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : xfail:ibm128-libgcc inexact-ok = pown upward ibm128 -0x0p+0 9223372036854775807LL : -0x0p+0 : inexact-ok pown 0.0 4 = pown downward binary32 0x0p+0 4LL : 0x0p+0 : inexact-ok @@ -1101,28 +1101,28 @@ pown -1.0 -0x3ffffffffffffe pown -1.0 -0x7fffffffffffffff = pown downward binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward binary32 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown downward binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward binary64 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown downward intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward intel96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown downward m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward m68k96 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown downward binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward binary128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown downward ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok = pown tonearest ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok -= pown upward ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok += pown upward ibm128 -0x1p+0 -9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok pown -1.0 0xffffff = pown downward binary32 -0x1p+0 16777215LL : -0x1p+0 : inexact-ok = pown tonearest binary32 -0x1p+0 16777215LL : -0x1p+0 : inexact-ok @@ -1224,29 +1224,29 @@ pown -1.0 0x3ffffffffffffe = pown towardzero ibm128 -0x1p+0 18014398509481982LL : 0x1p+0 : inexact-ok = pown upward ibm128 -0x1p+0 18014398509481982LL : 0x1p+0 : inexact-ok pown -1.0 0x7fffffffffffffff -= pown downward binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary32 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown downward binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary64 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown downward intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward intel96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown downward m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward m68k96 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown downward binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward binary128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown downward ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown downward ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown tonearest ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok -= pown towardzero ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok += pown towardzero ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : xfail:ibm128-libgcc inexact-ok = pown upward ibm128 -0x1p+0 9223372036854775807LL : -0x1p+0 : inexact-ok pown -2.0 126 = pown downward binary32 -0x2p+0 126LL : 0x4p+124 : inexact-ok |
