[libc] [llvm] [libc][math][c23] sinbf16 function (PR #185441)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 08:13:53 PDT 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/sinbf16.h libc/src/__support/math/sinbf16.h libc/src/math/generic/sinbf16.cpp libc/src/math/sinbf16.h libc/test/src/math/sinbf16_test.cpp libc/test/src/math/smoke/sinbf16_test.cpp libc/shared/math.h 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/test/src/math/smoke/sinbf16_test.cpp b/libc/test/src/math/smoke/sinbf16_test.cpp
index 0d32bab81..4f2cb2013 100644
--- a/libc/test/src/math/smoke/sinbf16_test.cpp
+++ b/libc/test/src/math/smoke/sinbf16_test.cpp
@@ -35,7 +35,6 @@ public:
 
     EXPECT_FP_EQ_ALL_ROUNDING(aNaN, LIBC_NAMESPACE::sinbf16(neg_inf));
     EXPECT_MATH_ERRNO(EDOM);
-
   }
 };
 TEST_F(LlvmLibcSinBf16Test, SpecialNumbers) { test_special_numbers(); }

``````````

</details>


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


More information about the llvm-commits mailing list