We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f8eb2f commit 6894d5cCopy full SHA for 6894d5c
libc/test/src/math/exhaustive/exhaustive_test.h
@@ -116,8 +116,6 @@ struct LlvmLibcExhaustiveMathTest
116
using FPBits = typename Checker::FPBits;
117
using StorageType = typename Checker::StorageType;
118
119
- static constexpr StorageType INCREMENT = Increment;
120
-
121
void explain_failed_range(std::stringstream &msg, StorageType x_begin,
122
StorageType x_end) {
123
#ifdef LIBC_TYPES_HAS_FLOAT16
@@ -165,8 +163,8 @@ struct LlvmLibcExhaustiveMathTest
165
163
return;
166
164
167
range_begin = current_value;
168
- if (stop >= INCREMENT && stop - INCREMENT >= current_value) {
169
- range_end = current_value + INCREMENT;
+ if (stop >= Increment && stop - Increment >= current_value) {
+ range_end = current_value + Increment;
170
} else {
171
range_end = stop;
172
}
0 commit comments