@@ -82,16 +82,16 @@ template <typename T> struct BinaryInput {
8282namespace internal {
8383
8484template <typename InputType, typename OutputType>
85- bool compare_unary_operation_single_output_same_type (Operation op, InputType input,
86- OutputType libc_output,
87- double ulp_tolerance,
88- MPCRoundingMode rounding);
85+ bool compare_unary_operation_single_output_same_type (Operation op,
86+ InputType input,
87+ OutputType libc_output,
88+ double ulp_tolerance,
89+ MPCRoundingMode rounding);
8990
9091template <typename InputType, typename OutputType>
91- bool compare_unary_operation_single_output_different_type (Operation op, InputType input,
92- OutputType libc_output,
93- double ulp_tolerance,
94- MPCRoundingMode rounding);
92+ bool compare_unary_operation_single_output_different_type (
93+ Operation op, InputType input, OutputType libc_output, double ulp_tolerance,
94+ MPCRoundingMode rounding);
9595
9696template <typename InputType, typename OutputType>
9797bool compare_binary_operation_one_output (Operation op,
@@ -101,16 +101,14 @@ bool compare_binary_operation_one_output(Operation op,
101101 MPCRoundingMode rounding);
102102
103103template <typename InputType, typename OutputType>
104- void explain_unary_operation_single_output_same_type_error (Operation op, InputType input,
105- OutputType match_value,
106- double ulp_tolerance,
107- MPCRoundingMode rounding);
104+ void explain_unary_operation_single_output_same_type_error (
105+ Operation op, InputType input, OutputType match_value, double ulp_tolerance,
106+ MPCRoundingMode rounding);
108107
109108template <typename InputType, typename OutputType>
110- void explain_unary_operation_single_output_different_type_error (Operation op, InputType input,
111- OutputType match_value,
112- double ulp_tolerance,
113- MPCRoundingMode rounding);
109+ void explain_unary_operation_single_output_different_type_error (
110+ Operation op, InputType input, OutputType match_value, double ulp_tolerance,
111+ MPCRoundingMode rounding);
114112
115113template <typename InputType, typename OutputType>
116114void explain_binary_operation_one_output_error (
@@ -234,15 +232,16 @@ get_mpc_matcher(InputType input, [[maybe_unused]] OutputType output,
234232 match_value, \
235233 LIBC_NAMESPACE::testing::mpc::get_mpc_matcher<op>( \
236234 input, match_value, ulp_tolerance, \
237- LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
235+ LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
238236 LIBC_NAMESPACE::fputil::testing::RoundingMode::Nearest, \
239237 LIBC_NAMESPACE::fputil::testing::RoundingMode::Nearest}))
240238
241239#define EXPECT_MPC_MATCH_ROUNDING (op, input, match_value, ulp_tolerance, \
242240 Rrounding, Irounding) \
243241 EXPECT_THAT (match_value, LIBC_NAMESPACE::testing::mpc::get_mpc_matcher<op>( \
244242 input, match_value, ulp_tolerance, \
245- LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{Rrounding, Irounding}))
243+ LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
244+ Rrounding, Irounding}))
246245
247246#define EXPECT_MPC_MATCH_ALL_ROUNDING_HELPER ( \
248247 i, j, op, input, match_value, ulp_tolerance, Rrounding, Irounding) \
@@ -274,23 +273,24 @@ get_mpc_matcher(InputType input, [[maybe_unused]] OutputType output,
274273 Rrounding, Irounding) \
275274 LIBC_NAMESPACE::testing::mpc::get_mpc_matcher<op>( \
276275 input, match_value, ulp_tolerance, \
277- LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{Rrounding, Irounding}) \
276+ LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{Rrounding, Irounding}) \
278277 .match(match_value)
279278
280279#define ASSERT_MPC_MATCH_DEFAULT (op, input, match_value, ulp_tolerance ) \
281280 ASSERT_THAT ( \
282281 match_value, \
283282 LIBC_NAMESPACE::testing::mpc::get_mpc_matcher<op>( \
284283 input, match_value, ulp_tolerance, \
285- LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
284+ LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
286285 LIBC_NAMESPACE::fputil::testing::RoundingMode::Nearest, \
287286 LIBC_NAMESPACE::fputil::testing::RoundingMode::Nearest}))
288287
289288#define ASSERT_MPC_MATCH_ROUNDING (op, input, match_value, ulp_tolerance, \
290289 Rrounding, Irounding) \
291290 ASSERT_THAT (match_value, LIBC_NAMESPACE::testing::mpc::get_mpc_matcher<op>( \
292291 input, match_value, ulp_tolerance, \
293- LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{Rrounding, Irounding}))
292+ LIBC_NAMESPACE::testing::mpc::MPCRoundingMode{ \
293+ Rrounding, Irounding}))
294294
295295#define ASSERT_MPC_MATCH_ALL_ROUNDING_HELPER ( \
296296 i, j, op, input, match_value, ulp_tolerance, Rrounding, Irounding) \
0 commit comments