This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/22244] New: ynf and yn are wrong without the svid compat wrapper


https://sourceware.org/bugzilla/show_bug.cgi?id=22244

            Bug ID: 22244
           Summary: ynf and yn are wrong without the svid compat wrapper
           Product: glibc
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
  Target Milestone: ---

without svid compat wrapper (static linking, new targets) i see the following
math failures:

$ cat math/test-float-yn.out
testing float (without inline functions)
Failure: yn (0, 0.0): Exception "Divide by zero" not set
Failure: yn (0, -0.0): Exception "Divide by zero" not set
Failure: yn (1, 0.0): Exception "Divide by zero" not set
Failure: yn (1, -0.0): Exception "Divide by zero" not set
Failure: yn (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn (2, 0.0): Exception "Divide by zero" not set
Failure: yn (2, -0.0): Exception "Divide by zero" not set
Failure: yn (-2, 0.0): Exception "Divide by zero" not set
Failure: yn (-2, -0.0): Exception "Divide by zero" not set
Failure: yn (3, 0.0): Exception "Divide by zero" not set
Failure: yn (3, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (0, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (0, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (1, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (1, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_downward (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_downward (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_downward (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_downward (2, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (2, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (3, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (3, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (0, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (0, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (1, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (1, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_towardzero (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_towardzero (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_towardzero (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_towardzero (2, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (2, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (3, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (3, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (0, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (0, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (1, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (1, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_upward (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_upward (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_upward (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_upward (2, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (2, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (3, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (3, -0.0): Exception "Divide by zero" not set

Test suite completed:
  524 test cases plus 520 tests for exception flags and
    520 tests for errno executed.
  56 errors occurred.


$ cat math/test-double-yn.out
testing double (without inline functions)
Failure: yn (0, 0.0): Exception "Divide by zero" not set
Failure: yn (0, -0.0): Exception "Divide by zero" not set
Failure: yn (1, 0.0): Exception "Divide by zero" not set
Failure: yn (1, -0.0): Exception "Divide by zero" not set
Failure: yn (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn (2, 0.0): Exception "Divide by zero" not set
Failure: yn (2, -0.0): Exception "Divide by zero" not set
Failure: yn (-2, 0.0): Exception "Divide by zero" not set
Failure: yn (-2, -0.0): Exception "Divide by zero" not set
Failure: yn (3, 0.0): Exception "Divide by zero" not set
Failure: yn (3, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (0, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (0, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (1, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (1, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_downward (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_downward (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_downward (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_downward (2, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (2, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_downward (3, 0.0): Exception "Divide by zero" not set
Failure: yn_downward (3, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (0, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (0, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (1, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (1, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_towardzero (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_towardzero (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_towardzero (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_towardzero (2, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (2, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (3, 0.0): Exception "Divide by zero" not set
Failure: yn_towardzero (3, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (0, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (0, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (1, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (1, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (-1, 0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_upward (-1, 0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_upward (-1, -0.0): Exception "Divide by zero" not set
infinity has wrong sign.
Failure: Test: yn_upward (-1, -0.0)
Result:
 is:         -inf  -inf
 should be:   inf   inf
Failure: yn_upward (2, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (2, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (-2, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (-2, -0.0): Exception "Divide by zero" not set
Failure: yn_upward (3, 0.0): Exception "Divide by zero" not set
Failure: yn_upward (3, -0.0): Exception "Divide by zero" not set

Test suite completed:
  660 test cases plus 656 tests for exception flags and
    656 tests for errno executed.
  56 errors occurred.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]