Hi, Dennis.
On Tue, 17 Apr 2018, Dennis Clarke wrote:
nix$ cat pq.c
Where does this test case file come from?
nix$ grep "FLT128_DIG"
/usr/local/gcc7/lib/gcc/powerpc64-unknown-linux-gnu/7.3.0/include/float.h
#undef FLT128_DIG
#define FLT128_DIG __FLT128_DIG__
Notice that FLT128_DIG comes from ISO/IEC TS 18661-3, and that standard
states that FLT128_DIG is only defined if you define
__STDC_WANT_IEC_60559_TYPES_EXT__ before including float.h:
#define __STDC_WANT_IEC_60559_TYPES_EXT__
#include <float.h>
However, also notice that the standard is about the _Float128 type, not
about __float128 (although these types are somewhat related to each other).
nix$ /usr/local/gcc7/bin/gcc -v -m64 -g -S -o pq.s pq.c
To get compiler support for the __float128 type, you also need to pass
-mfloat128 to the compiler.