diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-128')
-rw-r--r-- | sysdeps/ieee754/ldbl-128/Makeconfig | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128/bits/floatn.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-128/Makeconfig b/sysdeps/ieee754/ldbl-128/Makeconfig index 1f8e2562f0..ca17c1b12a 100644 --- a/sysdeps/ieee754/ldbl-128/Makeconfig +++ b/sysdeps/ieee754/ldbl-128/Makeconfig @@ -1,3 +1,4 @@ # Include this earlier so it can be used earlier in Makefiles, # and sysdep/ makefiles. float128-alias-fcts = yes +float64x-alias-fcts = yes diff --git a/sysdeps/ieee754/ldbl-128/bits/floatn.h b/sysdeps/ieee754/ldbl-128/bits/floatn.h index 01009f0deb..7489bcf204 100644 --- a/sysdeps/ieee754/ldbl-128/bits/floatn.h +++ b/sysdeps/ieee754/ldbl-128/bits/floatn.h @@ -39,6 +39,17 @@ from the default float, double and long double types in this glibc. */ #define __HAVE_DISTINCT_FLOAT128 0 +/* Defined to 1 if the current compiler invocation provides a + floating-point type with the right format for _Float64x, and this + glibc includes corresponding *f64x interfaces for it. */ +#define __HAVE_FLOAT64X __HAVE_FLOAT128 + +/* Defined to 1 if __HAVE_FLOAT64X is 1 and _Float64x has the format + of long double. Otherwise, if __HAVE_FLOAT64X is 1, _Float64x has + the format of _Float128, which must be different from that of long + double. */ +#define __HAVE_FLOAT64X_LONG_DOUBLE __HAVE_FLOAT128 + #ifndef __ASSEMBLER__ /* Defined to concatenate the literal suffix to be used with _Float128 |