Gcc complex division (default) algorithm

Paolo Carlini pcarlini@suse.de
Tue Dec 7 13:59:00 GMT 2004


Hi everyone,

I would ask you to have a brief look to the recent messages in gcc-bugs
named *complex numbers: basically, it turns out that, by default (that
is, when flag_complex_divide_method == 0) we are using a ""naive"" algo
for complex division.

Now, I can definitely understand that the "improved" algorithm, already
implemented (see expand_complex_div_wide in gcc/tree-complex.c) is more
costly, but would like to know the rationale of the choice, its history,
future plans (C99?): comments are very welcome!

Thank you in advance,
Paolo.



More information about the Gcc mailing list