This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47293] New: libquadmath: strtoflt128 - C99 hex floating point format missing
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Jan 2011 15:05:45 +0000
- Subject: [Bug fortran/47293] New: libquadmath: strtoflt128 - C99 hex floating point format missing
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47293
Summary: libquadmath: strtoflt128 - C99 hex floating point
format missing
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
(At some point, I - or someone else - should really create a libquadmath
component in Bugzilla.)
Follow up to http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00369.html
strtoflt128 currently does not support the C99 hex floating point format
However, there is: "gethex" in gdtoa/strtodg.c (called from strtoflt128) thus
it might already be implemented.
>From POSIX 2003 for strtod:
"The expected form of the subject sequence is an optional plus or minus sign,
then one of the following:
[...]
* A 0x or 0X, then a non-empty sequence of hexadecimal digits optionally
containing a radix character, then an optional binary exponent part"