Skip to content

Commit 59f6fe5

Browse files
committed
nit
1 parent 77a08a7 commit 59f6fe5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

libc/src/__support/complex_type.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ template <> struct make_complex<float16> {
3636
using type = cfloat16;
3737
};
3838
#endif
39-
#if defined(LIBC_TYPES_HAS_CFLOAT128)
40-
#if !(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128)
39+
#if defined(LIBC_TYPES_HAS_CFLOAT128) && !defined(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128)
4140
template <> struct make_complex<float128> {
4241
using type = cfloat128;
4342
};
4443
#endif
45-
#endif
4644

4745
template <typename T> using make_complex_t = typename make_complex<T>::type;
4846

@@ -63,13 +61,11 @@ template <> struct make_real<cfloat16> {
6361
using type = float16;
6462
};
6563
#endif
66-
#if defined(LIBC_TYPES_HAS_CFLOAT128)
67-
#if !(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE)
64+
#if defined(LIBC_TYPES_HAS_CFLOAT128) && !defined(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE)
6865
template <> struct make_real<cfloat128> {
6966
using type = float128;
7067
};
7168
#endif
72-
#endif
7369

7470
template <typename T> using make_real_t = typename make_real<T>::type;
7571

0 commit comments

Comments
 (0)