Skip to content

Commit 4c08aa3

Browse files
committed
Clang format
1 parent faa368e commit 4c08aa3

3 files changed

+1
-3
lines changed

src/FastMathFunctions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Expr fast_tan(const Expr &x_full, ApproximationPrecision precision) {
230230
Expr pi_over_two_minus_abs_x;
231231
if (type == Float(64)) {
232232
pi_over_two_minus_abs_x = make_const(type, PI_OVER_TWO) - abs_x;
233-
} else if (type == Float(32)) { // We want to do this trick always, because we invert later.
233+
} else if (type == Float(32)) { // We want to do this trick always, because we invert later.
234234
auto [hi, lo] = split_float(PI_OVER_TWO);
235235
// TODO(mcourteaux): replace with proper strict_float intrinsic ops.
236236
pi_over_two_minus_abs_x = strict_float(make_const(type, hi) - abs_x) + make_const(type, lo);

test/correctness/determine_fast_function_approximation_metrics.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ int main(int argc, char **argv) {
131131
target_no_fma.bits = target.bits;
132132
target_no_fma.vector_bits = target.vector_bits;
133133

134-
135134
auto out_mae = Buffer<float>::make_scalar();
136135
auto out_mulpe = Buffer<int>::make_scalar();
137136
auto out_mae_fma = Buffer<float>::make_scalar();

test/correctness/fast_function_approximations.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ constexpr RangedAccuracyTest::Validation rlx_ulp_val = {1.01, 20};
119119
constexpr RangedAccuracyTest::Validation vrlx_ulp_val = {1.1, 200};
120120
constexpr RangedAccuracyTest::Validation rsnbl_ulp_val = {20.0, 1'000};
121121

122-
123122
struct FunctionToTest {
124123
std::string name;
125124
Call::IntrinsicOp fast_op;

0 commit comments

Comments
 (0)