File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
libc/test/src/math/exhaustive Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,6 @@ struct LlvmLibcExhaustiveMathTest
116
116
using FPBits = typename Checker::FPBits;
117
117
using StorageType = typename Checker::StorageType;
118
118
119
- static constexpr StorageType INCREMENT = Increment;
120
-
121
119
void explain_failed_range (std::stringstream &msg, StorageType x_begin,
122
120
StorageType x_end) {
123
121
#ifdef LIBC_TYPES_HAS_FLOAT16
@@ -165,8 +163,8 @@ struct LlvmLibcExhaustiveMathTest
165
163
return ;
166
164
167
165
range_begin = current_value;
168
- if (stop >= INCREMENT && stop - INCREMENT >= current_value) {
169
- range_end = current_value + INCREMENT ;
166
+ if (stop >= Increment && stop - Increment >= current_value) {
167
+ range_end = current_value + Increment ;
170
168
} else {
171
169
range_end = stop;
172
170
}
You can’t perform that action at this time.
0 commit comments