[libc-commits] [libc] [libc][math][c23] Add totalorderl function. (PR #102564)
via libc-commits
libc-commits at lists.llvm.org
Thu Aug 8 19:54:38 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 2ac2e9a5b6c97cbf267db1ef322ed21ebceb2aba 0cb9d9ed212627b7f80e6a50fd33a801d4a05b43 --extensions h,cpp -- libc/src/math/generic/totalorderl.cpp libc/src/math/totalorderl.h libc/test/src/math/smoke/totalorderl_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/math/generic/totalorderl.cpp b/libc/src/math/generic/totalorderl.cpp
index f3fa2b2c01..1aae1c6cd0 100644
--- a/libc/src/math/generic/totalorderl.cpp
+++ b/libc/src/math/generic/totalorderl.cpp
@@ -13,7 +13,8 @@
namespace LIBC_NAMESPACE_DECL {
-LLVM_LIBC_FUNCTION(int, totalorderl, (const long double *x, const long double *y)) {
+LLVM_LIBC_FUNCTION(int, totalorderl,
+ (const long double *x, const long double *y)) {
return static_cast<int>(fputil::totalorder(*x, *y));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/102564
More information about the libc-commits
mailing list