[Bug middle-end/18902] Naive (default) complex division algorithm

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 9 11:17:00 GMT 2004


------- Additional Comments From joseph at codesourcery dot com  2004-12-09 11:17 -------
Subject: Re:  New: Naive (default) complex division
 algorithm

On Thu, 9 Dec 2004, pcarlini at suse dot de wrote:

> I'm attaching a trivial, pure C, testcase, showing at least inconsistency in the
> behaviors for real vs complex types. Swithing to flag_complex_divide_method = 1
> fixes simple testcases, but maybe we really want the full C99-conforming algo,
> as sketched in Annex G. In that case this would be a (high priority ;) request
> for enhancement.

The Annex G example still comes with a warning that it may yield undue 
overflow: it illustrates how to get the treatment of infinities expected 
in that informative Annex, not how to avoid excess overflow in general.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18902



More information about the Gcc-bugs mailing list