Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libc/include/llvm-libc-macros/wchar-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define LLVM_LIBC_MACROS_WCHAR_MACROS_H

#ifndef WEOF
#define WEOF 0xffffffffu
#define WEOF ((wint_t)(0xffffffffu))
#endif

#endif // LLVM_LIBC_MACROS_WCHAR_MACROS_H
3 changes: 2 additions & 1 deletion libc/test/src/math/smoke/RoundToIntegerTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ class RoundToIntegerTestTemplate
}

void testSubnormalRange(RoundToIntegerFunc func) {
constexpr int COUNT = 1'000'001;
// Arbitrary, trades off completeness with testing time (esp. on failure)
constexpr int COUNT = 1'000;
constexpr StorageType STEP = LIBC_NAMESPACE::cpp::max(
static_cast<StorageType>((MAX_SUBNORMAL - MIN_SUBNORMAL) / COUNT),
StorageType(1));
Expand Down
Loading