File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
libc/test/src/math/exhaustive Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,15 @@ struct HypotfChecker : public virtual LIBC_NAMESPACE::testing::Test {
4949 }
5050};
5151
52- using LlvmLibcHypotfExhaustiveTest = LlvmLibcExhaustiveMathTest<HypotfChecker>;
52+ using LlvmLibcHypotfExhaustiveTest =
53+ LlvmLibcExhaustiveMathTest<HypotfChecker, /* Increment=*/ 1 >;
5354
5455// Range of the first input: [2^23, 2^24];
5556static constexpr uint32_t START = (23U + 127U ) << 23 ;
56- static constexpr uint32_t STOP = (24U + 127U ) << 23 ;
57+ // static constexpr uint32_t STOP = (24U + 127U) << 23;
58+ // Use a smaller range for automated tests, since the full range takes too long
59+ // and should only be run manually.
60+ static constexpr uint32_t STOP = ((23U + 127U ) << 23 ) + 1024U ;
5761
5862TEST_F (LlvmLibcHypotfExhaustiveTest, PositiveRange) {
5963 test_full_range_all_roundings (START, STOP);
You can’t perform that action at this time.
0 commit comments