Mixed mode __complex__ arithmetic
Joseph S. Myers
joseph@codesourcery.com
Sat Sep 18 13:33:00 GMT 2010
On Thu, 16 Sep 2010, Paolo Carlini wrote:
> Hi,
>
> I have a patch in testing which streamlines a bit <complex> and wanted
> to make sure we are supporting well mixed-mode __complex__ arithmetic, like:
>
> __complex__ double cd1;
> __complex__ float cf1;
>
> cd1 *= cf1;
>
> are we aware of any special problem in this area?
I am not aware of any problems. The complex float value will be converted
to complex double as required by C99.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list