Skip to content

Commit 5d8bc06

Browse files
committed
fmt
1 parent da739e4 commit 5d8bc06

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

libc/utils/MPCWrapper/MPCUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ class MPCNumber {
163163
mpc_arg(res, value, MPC_RND_RE(this->mpc_rounding));
164164
mpc_set_fr(res_mpc, res, this->mpc_rounding);
165165

166-
MPCNumber result(res_mpc, this->mpc_real_precision, this->mpc_imag_precision, this->mpc_rounding);
166+
MPCNumber result(res_mpc, this->mpc_real_precision,
167+
this->mpc_imag_precision, this->mpc_rounding);
167168

168169
mpfr_clear(res);
169170
mpc_clear(res_mpc);
@@ -260,12 +261,11 @@ void explain_unary_operation_single_output_different_type_error(
260261

261262
double ulp_real = mpfr_real.ulp(libc_result);
262263

263-
if(ulp_real > ulp_tolerance) {
264+
if (ulp_real > ulp_tolerance) {
264265
cpp::array<char, 1024> msg_buf;
265266
cpp::StringStream msg(msg_buf);
266267
// TODO: Add information to the error message.
267268
}
268-
269269
}
270270

271271
template void explain_unary_operation_single_output_different_type_error(

libc/utils/MPCWrapper/MPCUtils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ get_mpc_matcher(InputType input, [[maybe_unused]] OutputType output,
249249
MPCRND::ForceRoundingMode __r##i##j(Rrounding); \
250250
MPCRND::ForceRoundingMode __i##i##j(Irounding); \
251251
if (__r##i##j.success && __i##i##j.success) { \
252-
EXPECT_MPC_MATCH_ROUNDING( \
253-
op, input, match_value, ulp_tolerance, Rrounding, Irounding); \
252+
EXPECT_MPC_MATCH_ROUNDING(op, input, match_value, ulp_tolerance, \
253+
Rrounding, Irounding); \
254254
} \
255255
}
256256

@@ -296,8 +296,8 @@ get_mpc_matcher(InputType input, [[maybe_unused]] OutputType output,
296296
MPCRND::ForceRoundingMode __r##i##j(Rrounding); \
297297
MPCRND::ForceRoundingMode __i##i##j(Irounding); \
298298
if (__r##i##j.success && __i##i##j.success) { \
299-
ASSERT_MPC_MATCH_ROUNDING( \
300-
op, input, match_value, ulp_tolerance, Rrounding, Irounding); \
299+
ASSERT_MPC_MATCH_ROUNDING(op, input, match_value, ulp_tolerance, \
300+
Rrounding, Irounding); \
301301
} \
302302
}
303303

0 commit comments

Comments
 (0)