Skip to content

Commit b606662

Browse files
committed
clang format...again
1 parent 6b428aa commit b606662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc/utils/MPFRWrapper/MPFRUtils.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ class MPFRNumber {
260260
mpz_init(integer);
261261
mpfr_get_z(integer, value, mpfr_rounding);
262262

263-
mpfr_set_si(result.value, (mpz_tstbit(integer, 0)) ? -1 : 1, mpfr_rounding);
263+
auto d = mpz_tstbit(integer, 0);
264+
mpfr_set_si(result.value, d ? -1 : 1, mpfr_rounding);
264265
return result;
265266
}
266267

0 commit comments

Comments
 (0)