File tree 2 files changed +2
-4
lines changed 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,8 @@ class RIntTestTemplate : public LIBC_NAMESPACE::testing::FEnvSafeTest {
125
125
T x = xbits.get_val ();
126
126
// In normal range on x86 platforms, the long double implicit 1 bit can be
127
127
// zero making the numbers NaN. We will skip them.
128
- if (xbits.is_nan ()) {
128
+ if (xbits.is_nan ())
129
129
continue ;
130
- }
131
130
132
131
for (int mode : ROUNDING_MODES) {
133
132
LIBC_NAMESPACE::fputil::set_round (mode);
Original file line number Diff line number Diff line change @@ -280,9 +280,8 @@ class RoundToIntegerTestTemplate
280
280
F x = xbits.get_val ();
281
281
// In normal range on x86 platforms, the long double implicit 1 bit can be
282
282
// zero making the numbers NaN. We will skip them.
283
- if (xbits.is_nan ()) {
283
+ if (xbits.is_nan ())
284
284
continue ;
285
- }
286
285
287
286
if (TestModes) {
288
287
for (int m : ROUNDING_MODES) {
You can’t perform that action at this time.
0 commit comments