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]

Hexadecimal floats


Does C++ include hexadecimal floating point constants?  How does it define 
preprocessing numbers?

In the course of updating extend.texi to allow for features now being in
C99, I noticed that G++ objects to hexadecimal floats with -pedantic, but
still lexes them as numbers in cases where they can't be lexed as numbers
in C90 (see gcc.dg/c90-hexfloat-2.c), even with -ansi.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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