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/18699] New: tilegx cproj() for various complex infinities does not yield infinity


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

            Bug ID: 18699
           Summary: tilegx cproj() for various complex infinities does not
                    yield infinity
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: cmetcalf at ezchip dot com
  Target Milestone: ---

The float and ifloat tests both fail with the appended output: cproj()
of various complex infinities should be yielding infinity, but instead
yields a very tiny positive number.

This is for glibc 2.22 (almost, as it hasn't fully frozen yet).

testing float (without inline functions)
Failure: Test: Real part of: cproj (inf + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf + +0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf - 0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf + +0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf - 0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (+0 + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (+0 - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-0 + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-0 - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf + 1.0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf - 1.0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf + 1.0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf - 1.0 i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (1.0 + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (1.0 - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-1.0 + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-1.0 - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf + qNaN i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (inf - qNaN i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf + qNaN i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-inf - qNaN i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (qNaN + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (qNaN - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-qNaN + inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf
Failure: Test: Real part of: cproj (-qNaN - inf i)
Result:
 is:          3.57331108402828353086e-43   0x1.fe000000000000000000p-142
 should be:   inf   inf

Test suite completed:
  9998 test cases plus 9169 tests for exception flags and
    9169 tests for errno executed.
  28 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]