This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hexadecimal floats


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]