public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18699] New: tilegx cproj() for various complex infinities does not yield infinity
@ 2015-07-20 21:45 cmetcalf at ezchip dot com
  2015-07-22 16:13 ` [Bug math/18699] " cmetcalf at ezchip dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: cmetcalf at ezchip dot com @ 2015-07-20 21:45 UTC (permalink / raw)
  To: glibc-bugs

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.


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

end of thread, other threads:[~2015-10-29 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-20 21:45 [Bug math/18699] New: tilegx cproj() for various complex infinities does not yield infinity cmetcalf at ezchip dot com
2015-07-22 16:13 ` [Bug math/18699] " cmetcalf at ezchip dot com
2015-10-22 17:30 ` cmetcalf at ezchip dot com
2015-10-22 17:44 ` cvs-commit at gcc dot gnu.org
2015-10-29 16:37 ` jsm28 at gcc dot gnu.org

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