File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -103,18 +103,16 @@ TEST_F(LlvmLibcSincosTest, TrickyInputs) {
103
103
}
104
104
105
105
TEST_F (LlvmLibcSincosTest, InDoubleRange) {
106
- constexpr uint64_t COUNT = 123'451 ;
106
+ constexpr uint64_t COUNT = 123'41 ;
107
107
uint64_t START = LIBC_NAMESPACE::fputil::FPBits<double >(0x1 .0p-50 ).uintval ();
108
108
uint64_t STOP = LIBC_NAMESPACE::fputil::FPBits<double >(0x1 .0p200).uintval ();
109
109
uint64_t STEP = (STOP - START) / COUNT;
110
110
111
- auto test = [&](mpfr::RoundingMode rounding_mode) {
112
- for (uint64_t i = 0 , v = START; i <= COUNT; ++i, v += STEP) {
113
- double x = FPBits (v).get_val ();
114
- if (isnan (x) || isinf (x))
115
- continue ;
111
+ for (uint64_t i = 0 , v = START; i <= COUNT; ++i, v += STEP) {
112
+ double x = FPBits (v).get_val ();
113
+ if (isnan (x) || isinf (x))
114
+ continue ;
116
115
117
- ASSERT_SINCOS_MATCH_ALL_ROUNDING (x);
118
- }
119
- };
116
+ ASSERT_SINCOS_MATCH_ALL_ROUNDING (x);
117
+ }
120
118
}
You can’t perform that action at this time.
0 commit comments