Skip to content

Commit 69754e6

Browse files
committed
[libc][math][c23] Remove braces from single-statement if body
1 parent 03511a5 commit 69754e6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

libc/test/src/math/RIntTest.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ class RIntTestTemplate : public LIBC_NAMESPACE::testing::FEnvSafeTest {
125125
T x = xbits.get_val();
126126
// In normal range on x86 platforms, the long double implicit 1 bit can be
127127
// zero making the numbers NaN. We will skip them.
128-
if (xbits.is_nan()) {
128+
if (xbits.is_nan())
129129
continue;
130-
}
131130

132131
for (int mode : ROUNDING_MODES) {
133132
LIBC_NAMESPACE::fputil::set_round(mode);

libc/test/src/math/RoundToIntegerTest.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,8 @@ class RoundToIntegerTestTemplate
280280
F x = xbits.get_val();
281281
// In normal range on x86 platforms, the long double implicit 1 bit can be
282282
// zero making the numbers NaN. We will skip them.
283-
if (xbits.is_nan()) {
283+
if (xbits.is_nan())
284284
continue;
285-
}
286285

287286
if (TestModes) {
288287
for (int m : ROUNDING_MODES) {

0 commit comments

Comments
 (0)