Hexadecimal floats
Joseph S. Myers
jsm28@cam.ac.uk
Sun May 20 12:09:00 GMT 2001
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
More information about the Gcc
mailing list