[libc-commits] [libc] [libc] Add `next_toward_inf` fo `FPBits` (PR #80654)
via libc-commits
libc-commits at lists.llvm.org
Mon Feb 5 01:50:10 PST 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 25ab2fc06b6780335c291fa1fc23c2aec01c34a6 734466d9e83cb1ef92ee5da6e45646cd1b6cd8d9 -- libc/src/__support/FPUtil/FPBits.h libc/test/src/__support/FPUtil/fpbits_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/FPUtil/FPBits.h b/libc/src/__support/FPUtil/FPBits.h
index 271fc7c2c9..65cf0422dc 100644
--- a/libc/src/__support/FPUtil/FPBits.h
+++ b/libc/src/__support/FPUtil/FPBits.h
@@ -568,7 +568,7 @@ public:
return false;
return get_implicit_bit();
}
-
+
// Modifiers
LIBC_INLINE constexpr void next_toward_inf() {
if (is_finite()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/80654
More information about the libc-commits
mailing list