[cfp-interest 3373] Re: removing imaginary I

Damian McGuckin damianm at esi.com.au
Mon Feb 10 04:04:14 PST 2025


On Sat, 8 Feb 2025, Jim Thomas wrote:

> I want to include in the CFP agenda for February 12 a look at N3390 ?Remove the
> imaginary I?and the ensuing WG14 email thread. Does CFP have any input for WG14
> about the proposal? Following are a couple of things I noticed.
> The proposal optionally adds a constant identifier I declared with 1.0i, to
> support existing code that uses the I macro. If the constant identifier I is
> desired it should be declared with 1.0fi rather than 1.0i, to match the type
> of the I macro. 

Well spotted.

> The proposal mentions that users who want to use the macro I can add
>
>       #include <complex.h>
> #define I _Complex_I
> 
> 
> I think it would be helpful to note this in the standard if the macro I is
> removed or obsolesced.

Wise.

- Damian


More information about the cfp-interest mailing list