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 e627022 commit ad6a32fCopy full SHA for ad6a32f
stl/inc/limits
@@ -120,8 +120,12 @@ struct _Num_int_base : _Num_base { // base for integer types
120
static constexpr bool is_exact = true;
121
static constexpr bool is_integer = true;
122
static constexpr bool is_specialized = true;
123
- static constexpr bool traps = true;
124
- static constexpr int radix = 2;
+#if !defined(__clang__) || defined(__x86_64__) || defined(__i386__)
+ static constexpr bool traps = true;
125
+#else // ^^^ not Clang or x64 or x86 / Clang and not x64 and not x86 vvv
126
+ static constexpr bool traps = false;
127
+#endif // ^^^ Clang and not x64 and not x86 ^^^
128
+ static constexpr int radix = 2;
129
};
130
131
struct _Num_float_base : _Num_base { // base for floating-point types
0 commit comments