File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1313#include " src/__support/CPP/bit.h"
1414#include " src/__support/CPP/limits.h" // numeric_limits
1515#include " src/__support/CPP/type_traits.h"
16+ #include " src/__support/libc_assert.h"
1617#include " src/__support/macros/attributes.h" // LIBC_INLINE
1718#include " src/__support/macros/config.h" // LIBC_NAMESPACE_DECL
1819#include " src/__support/macros/null_check.h" // LIBC_CRASH_ON_VALUE
1920#include " src/__support/macros/optimization.h" // LIBC_UNLIKELY
2021#include " src/__support/math_extras.h"
21- #include " src/__support/libc_assert.h"
2222
2323#include " fx_rep.h"
2424
@@ -266,7 +266,8 @@ template <typename XType> LIBC_INLINE constexpr XType divi(int n, int d) {
266266 // E0 = 1/17 = 0.059 (5.9%)
267267 long accum initial_approx = a - (b * d_scaled_val);
268268 // Since, 0.5 <= d_scaled_val <= 1.0, 0.9412 <= initial_approx <= 1.88235
269- LIBC_ASSERT ((initial_approx >= 0x0 .78793dd9p0lk) && (initial_approx <= 0x1 .f0f0d845p0lk ));
269+ LIBC_ASSERT ((initial_approx >= 0x0 .78793dd9p0lk) &&
270+ (initial_approx <= 0x1 .f0f0d845p0lk ));
270271 // Each newton-raphson iteration will square the error, due
271272 // to quadratic convergence. So,
272273 // E1 = (0.059)^2 = 0.0034
Original file line number Diff line number Diff line change 66//
77// ===----------------------------------------------------------------------===//
88
9- #include " include/llvm-libc-macros/stdfix-macros.h" // fract
109#include " rdivi.h"
11- #include " src/__support/common.h" // LLVM_LIBC_FUNCTION
12- #include " src/__support/fixed_point/fx_bits.h" // fixed_point
13- #include " src/__support/macros/config.h" // LIBC_NAMESPACE_DECL
10+ #include " include/llvm-libc-macros/stdfix-macros.h" // fract
11+ #include " src/__support/common.h" // LLVM_LIBC_FUNCTION
12+ #include " src/__support/fixed_point/fx_bits.h" // fixed_point
13+ #include " src/__support/macros/config.h" // LIBC_NAMESPACE_DECL
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
You can’t perform that action at this time.
0 commit comments