File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,12 @@ template <> struct make_complex<float16> {
36
36
using type = cfloat16;
37
37
};
38
38
#endif
39
- #if defined(LIBC_TYPES_HAS_CFLOAT128)
40
- # if ! (LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128)
39
+ #if defined(LIBC_TYPES_HAS_CFLOAT128) && \
40
+ !defined (LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128)
41
41
template <> struct make_complex <float128> {
42
42
using type = cfloat128;
43
43
};
44
44
#endif
45
- #endif
46
45
47
46
template <typename T> using make_complex_t = typename make_complex<T>::type;
48
47
@@ -63,13 +62,12 @@ template <> struct make_real<cfloat16> {
63
62
using type = float16;
64
63
};
65
64
#endif
66
- #if defined(LIBC_TYPES_HAS_CFLOAT128)
67
- # if ! (LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE)
65
+ #if defined(LIBC_TYPES_HAS_CFLOAT128) && \
66
+ !defined (LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE)
68
67
template <> struct make_real <cfloat128> {
69
68
using type = float128;
70
69
};
71
70
#endif
72
- #endif
73
71
74
72
template <typename T> using make_real_t = typename make_real<T>::type;
75
73
You can’t perform that action at this time.
0 commit comments