[libc-commits] [libc] [llvm] [libc][math] Refactor f16sqrtf128 to Header Only. (PR #175829)
via libc-commits
libc-commits at lists.llvm.org
Wed Jan 28 13:00:52 PST 2026
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 origin/main HEAD --extensions h,cpp -- libc/shared/math/f16sqrtf128.h libc/src/__support/math/f16sqrtf128.h libc/shared/math.h libc/src/math/generic/f16sqrtf128.cpp libc/test/shared/shared_math_test.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</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 1f7b0fc3f..bf7344b9d 100644
--- a/libc/shared/math.h
+++ b/libc/shared/math.h
@@ -61,8 +61,8 @@
#include "math/expm1f16.h"
#include "math/f16fma.h"
#include "math/f16fmal.h"
-#include "math/f16sqrtl.h"
#include "math/f16sqrtf128.h"
+#include "math/f16sqrtl.h"
#include "math/frexpf.h"
#include "math/frexpf128.h"
#include "math/frexpf16.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/175829
More information about the libc-commits
mailing list