This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug fortran/47293] New: libquadmath: strtoflt128 - C99 hex floating point format missing


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"


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