File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ typedef _Complex _Float128 cfloat128;
3535typedef _Complex __float128 cfloat128 ;
3636#elif (LDBL_MANT_DIG == 113 )
3737#define LIBC_TYPES_HAS_CFLOAT128
38+ #define LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE
3839typedef _Complex long double cfloat128 ;
3940#endif
4041
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ template <> struct make_complex<float16> {
3737};
3838#endif
3939#if defined(LIBC_TYPES_HAS_CFLOAT128)
40- #if (LDBL_MANT_DIG != 113 )
40+ #if !(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128 )
4141template <> struct make_complex <float128> {
4242 using type = cfloat128;
4343};
@@ -64,7 +64,7 @@ template <> struct make_real<cfloat16> {
6464};
6565#endif
6666#if defined(LIBC_TYPES_HAS_CFLOAT128)
67- #if (LDBL_MANT_DIG != 113 )
67+ #if !(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE )
6868template <> struct make_real <cfloat128> {
6969 using type = float128;
7070};
You can’t perform that action at this time.
0 commit comments