Bug 143057
Summary: | complex<double> / inf gives nan instead of 0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dmitri A. Sergatskov <dasergatskov> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | http://www.cs.berkeley.edu/~wkahan/ieee754status/IEEE754.PDF | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-12-23 14:18:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dmitri A. Sergatskov
2004-12-16 01:25:31 UTC
Please file this upstream (http://gcc.gnu.org/bugzilla), it is better discussed there. Reproduceable even with: #include <stdio.h> _Complex double a, r; double b = 1.0 / 0.0; int main (void) { __real__ a = 1.0; __imag__ a = -1.0; r = a / b; printf ("%f %f\n", __real__ r, __imag__ r); return 0; } Done. See Bug c/19138 |