Hexadecimal floats
Fergus Henderson
fjh@cs.mu.oz.au
Sun May 20 18:46:00 GMT 2001
On 20-May-2001, Neil Booth <neil@daikokuya.demon.co.uk> wrote:
> Joseph S. Myers wrote:-
>
> > Does C++ include hexadecimal floating point constants? How does it define
> > preprocessing numbers?
>
> I'm 90% sure it's the same as C89. In other words, no.
That's correct.
The C++ grammar for preprocesing numbers is
pp-number:
digit
. digit
pp-number digit
pp-number nondigit
pp-number e sign
pp-number E sign
pp-number .
nondigit: one of
universal-character-name
_
a ... z
A ... Z
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh > | -- the last words of T. S. Garp.
More information about the Gcc
mailing list