[libc-commits] [libc] [llvm] [libc] Add a Multiprecision type to math_extras (PR #86137)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 21 08:41:04 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 0c8dfc85c3740bd8905e21642f616e6fd54854e0 1106064bc265f5fada281df7a16a777791750ed8 -- libc/src/__support/CPP/type_traits/is_constant_evaluated.h libc/src/__support/CPP/iterator.h libc/src/__support/CPP/type_traits.h libc/src/__support/FPUtil/dyadic_float.h libc/src/__support/UInt.h libc/src/__support/float_to_string.h libc/src/__support/integer_literals.h libc/src/__support/math_extras.h libc/src/__support/number_pair.h libc/test/src/__support/math_extras_test.cpp libc/test/src/__support/uint_test.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libc/src/__support/math_extras.h b/libc/src/__support/math_extras.h
index 248bd694d3..dd4ab807dd 100644
--- a/libc/src/__support/math_extras.h
+++ b/libc/src/__support/math_extras.h
@@ -11,7 +11,7 @@
 #define LLVM_LIBC_SRC___SUPPORT_MATH_EXTRAS_H
 
 #include "src/__support/CPP/bit.h"           // countl_one, countr_zero
-#include "src/__support/CPP/limits.h"      // CHAR_BIT, numeric_limits
+#include "src/__support/CPP/limits.h"        // CHAR_BIT, numeric_limits
 #include "src/__support/CPP/type_traits.h" // is_unsigned_v, is_constant_evaluated
 #include "src/__support/macros/attributes.h" // LIBC_INLINE
 #include "src/__support/macros/config.h"     // LIBC_HAS_BUILTIN

``````````

</details>


https://github.com/llvm/llvm-project/pull/86137


More information about the libc-commits mailing list