This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19138] double complex / inf gives nan instead of 0
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2004 15:50:36 -0000
- Subject: [Bug middle-end/19138] double complex / inf gives nan instead of 0
- References: <20041223143534.19138.dmitri@unm.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joseph at codesourcery dot com 2004-12-23 15:50 -------
Subject: Re: New: double complex / inf gives nan instead of 0
On Thu, 23 Dec 2004, dmitri at unm dot edu wrote:
> The following program gives "nan nan" output instead of expected "0 0"
It would have been helpful to point to C99 G.5.1 paragraph 4 third bullet
point as the source of your expectation. We don't yet implement the C99
requirements for complex numbers (either the normative ones, or the
non-normative ones in Annex G), though it would be useful to do so.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19138