C constant expressions proposals

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Aug 14 15:51:00 GMT 2004


"Joseph S. Myers" <jsm@polyomino.org.uk> writes:

[...]

| But I see I didn't specify what happens for complex constants (a GNU 
| extension), both integer and floating point, so I'll do that (i.e. they 
| act as integer or floating point constants as appropriate), and explicitly 
| say that integer complex arithmetic uses the usual formulas and overflows 
| if they do (see bug 2995).

Thanks.  As an aside note, LIA-3 is specifying Gauss integers,
i.e. integer complex type and arithmetics.

|  I'll also make it so that you can't have 
| address constants of complex integer type, which seems to be existing 
| practice.

What are they used for?

-- Gaby



More information about the Gcc mailing list