We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac000a commit 8f3e7c3Copy full SHA for 8f3e7c3
libc/src/__support/complex_type.h
@@ -37,10 +37,12 @@ template <> struct make_complex<float16> {
37
};
38
#endif
39
#if defined(LIBC_TYPES_HAS_CFLOAT128)
40
+#if (LDBL_MANT_DIG != 113)
41
template <> struct make_complex<float128> {
42
using type = cfloat128;
43
44
45
+#endif
46
47
template <typename T> using make_complex_t = typename make_complex<T>::type;
48
@@ -62,10 +64,12 @@ template <> struct make_real<cfloat16> {
62
64
63
65
66
67
68
template <> struct make_real<cfloat128> {
69
using type = float128;
70
71
72
73
74
template <typename T> using make_real_t = typename make_real<T>::type;
75
0 commit comments