[libc] [llvm] [libc][math] Refactor frexpf implementation to header-only in src/__support/math folder. (PR #147893)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 21:59:00 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/frexpf.h libc/src/__support/math/frexpf.h libc/shared/math.h libc/src/math/generic/frexpf.cpp
``````````

</details>

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

``````````diff
diff --git a/libc/shared/math.h b/libc/shared/math.h
index 687af1f22..e2950e075 100644
--- a/libc/shared/math.h
+++ b/libc/shared/math.h
@@ -13,8 +13,8 @@
 
 #include "math/expf.h"
 #include "math/expf16.h"
+#include "math/frexpf.h"
 #include "math/frexpf128.h"
 #include "math/frexpf16.h"
-#include "math/frexpf.h"
 
 #endif // LLVM_LIBC_SHARED_MATH_H

``````````

</details>


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


More information about the llvm-commits mailing list