GCC Hexadecimal Floating point constant handling
Ian Lance Taylor
iant@google.com
Wed Nov 4 14:24:00 GMT 2009
Ameya Malondkar <ameya.malondkar@tcs.com> writes:
> GCC accepts constructs such as : float p = 0x.p5;
...
> As per the grammar to my understanding, the above construct is invalid.
> Just wanted to know whether the support for the above construct is a GCC
> Extension or my understanding of the grammar is incorrect?
I agree. Per the grammar, this should not be recognized.
It does not real harm, but would you like to file a bug report? See
http://gcc.gnu.org/bugs.html . Thanks.
Ian
More information about the Gcc-help
mailing list