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 361a659 commit 288b750Copy full SHA for 288b750
libc/include/llvm-libc-macros/wchar-macros.h
@@ -10,7 +10,7 @@
10
#define LLVM_LIBC_MACROS_WCHAR_MACROS_H
11
12
#ifndef WEOF
13
-#define WEOF 0xffffffffu
+#define WEOF ((wint_t)(0xffffffffu))
14
#endif
15
16
#endif // LLVM_LIBC_MACROS_WCHAR_MACROS_H
libc/test/src/math/smoke/RoundToIntegerTest.h
@@ -113,7 +113,8 @@ class RoundToIntegerTestTemplate
113
}
114
115
void testSubnormalRange(RoundToIntegerFunc func) {
116
- constexpr int COUNT = 1'000'001;
+ // Arbitrary, trades off completeness with testing time (esp. on failure)
117
+ constexpr int COUNT = 1'000;
118
constexpr StorageType STEP = LIBC_NAMESPACE::cpp::max(
119
static_cast<StorageType>((MAX_SUBNORMAL - MIN_SUBNORMAL) / COUNT),
120
StorageType(1));
0 commit comments