File tree 1 file changed +6
-2
lines changed
libc/test/src/math/exhaustive 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 {
49
49
}
50
50
};
51
51
52
- using LlvmLibcHypotfExhaustiveTest = LlvmLibcExhaustiveMathTest<HypotfChecker>;
52
+ using LlvmLibcHypotfExhaustiveTest =
53
+ LlvmLibcExhaustiveMathTest<HypotfChecker, /* Increment=*/ 1 >;
53
54
54
55
// Range of the first input: [2^23, 2^24];
55
56
static 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 ;
57
61
58
62
TEST_F (LlvmLibcHypotfExhaustiveTest, PositiveRange) {
59
63
test_full_range_all_roundings (START, STOP);
You can’t perform that action at this time.
0 commit comments