This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: complex numbers
- From: Paolo Carlini <pcarlini at suse dot de>
- To: gcc-bugs at gcc dot gnu dot org
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>,klein at mathematik dot uni-kassel dot de
- Date: Tue, 07 Dec 2004 12:52:58 +0100
- Subject: Re: complex numbers
As you mentinon it if have missed the specilization at the end of
std_complex.h. Sorry. I still think that we should have and other
implementation for complex<floating_point>, but I cannot change the code
of __complex__ T in the complier.
Interestingly, it looks like the discussed improved algorithm is
*already* implemented, just not used!
Have a look to expand_complex_division in gcc/tree-complex.c, then
gcc/toplev.c for flag_complex_divide_method.
Andreas, just for curiosity, are you willing to rebuild your gcc
with flag_complex_divide_method = 1 and report???
Thanks,
Paolo.