[libc-commits] [libc] [llvm] [libc] Make daddf128 use emulated Float128 type (PR #236437)

via libc-commits libc-commits at lists.llvm.org
Sat Nov 7 22:22:57 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/test/src/math/daddf128_test.cpp libc/shared/math/daddf128.h libc/src/__support/math/daddf128.h libc/src/math/daddf128.h libc/src/math/generic/daddf128.cpp libc/test/shared/shared_math_constexpr_test.cpp libc/test/shared/shared_math_test.cpp libc/test/src/math/smoke/daddf128_test.cpp libc/utils/MPFRWrapper/MPFRUtils.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/test/src/math/smoke/daddf128_test.cpp b/libc/test/src/math/smoke/daddf128_test.cpp
index ce770eefb..53bded363 100644
--- a/libc/test/src/math/smoke/daddf128_test.cpp
+++ b/libc/test/src/math/smoke/daddf128_test.cpp
@@ -6,9 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "test/src/math/smoke/AddTest.h"
 #include "src/__support/FPUtil/float128.h"
 #include "src/math/daddf128.h"
+#include "test/src/math/smoke/AddTest.h"
 
 #ifndef LIBC_TYPES_HAS_NATIVE_FLOAT128
 using float128 = LIBC_NAMESPACE::fputil::Float128;

``````````

</details>


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


More information about the libc-commits mailing list