[libc] [llvm] [libc][math] Refactor exp10 implementation to header-only in src/__support/math folder. (PR #148400)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 09:29:01 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- libc/shared/math/exp10.h libc/src/__support/math/exp10.h libc/shared/math.h libc/src/__support/FPUtil/double_double.h libc/src/math/generic/common_constants.h libc/src/math/generic/exp10.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/math/generic/common_constants.h b/libc/src/math/generic/common_constants.h
index 80eee06b2..291816a78 100644
--- a/libc/src/math/generic/common_constants.h
+++ b/libc/src/math/generic/common_constants.h
@@ -13,8 +13,6 @@
#include "src/__support/macros/config.h"
#include "src/__support/math/exp_constants.h"
#include "src/__support/number_pair.h"
-#include "src/__support/math/exp_constants.h"
-#include "src/__support/number_pair.h"
namespace LIBC_NAMESPACE_DECL {
``````````
</details>
https://github.com/llvm/llvm-project/pull/148400
More information about the llvm-commits
mailing list