What is the status of C99 hexadecimal floating point constants in C++0x?
I looked in N2800 and could see user-defined literals, which as far
as I understand enables much more diverse possibilities for literals,
but couldn't find anything "standard" that supports hexadecimal floating
point constants such as 0x1a.3fp-4 "out-of-the-box", i.e. without a
further definition of a conversion operator function.
Is it not being adopted into C++0x? I do expect that many C++ compilers
will provide the feature as an extension, for they have to provide it
as C compilers anyway. It would be disappointing, however, if we could
not write hexadecimal floating point literals portably in C++. The more
because it would not cause any backward incompatibility, nor be very
difficult to implement.
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:email@example.com]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/