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 other/52930] New: quadmath: missing logbq, modfq, nexttowardq, exp2q


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52930

             Bug #: 52930
           Summary: quadmath: missing logbq, modfq, nexttowardq, exp2q
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tydeman@tybor.com


Either the header <quadmath.h> is missing the prototypes, and/or
the library -lquadmath is missing the functions listed in the summary.
These problems were found in a C99 program using 4.6.3-2 of float128
in Linux Fedora Core 16 on an Intel Core 2 CPU.

Also, FLT128_DENORM_MIN should be renamed to FLT128_TRUE_MIN to match C11.

Also, #define FLT128_DECIMAL_DIG 36 should be added to match C11.

Also, #define FLT128_HAS_SUBNORM 1 should be added to match C11.

It would be nice if <tgmath.h> supported all four floating-point types;
float, double, long double, __float128.

It would be nice if isnan(), isinf(), ... supported all four floating-point
types.

It appears that the 113/128 quad is converted to 64/80 long double when
any of the quad functions are called.  
For example, fabsq(1.0Q - FLT128_EPSILON) returns 1.0Q


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