This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/52930] New: quadmath: missing logbq, modfq, nexttowardq, exp2q
- From: "tydeman at tybor dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Apr 2012 22:22:15 +0000
- Subject: [Bug other/52930] New: quadmath: missing logbq, modfq, nexttowardq, exp2q
- Auto-submitted: auto-generated
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