[libc-commits] [libc] [llvm] [libc][math] Add `expm1bf16` math function (PR #246689)

via libc-commits libc-commits at lists.llvm.org
Sat Nov 28 07:31:13 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 cpp,h -- libc/shared/math/expm1bf16.h libc/src/__support/math/expbf16_utils.h libc/src/__support/math/expm1bf16.h libc/src/math/expm1bf16.h libc/src/math/generic/expm1bf16.cpp libc/test/src/math/expm1bf16_test.cpp libc/test/src/math/smoke/expm1bf16_test.cpp libc/shared/math.h libc/src/__support/math/expbf16.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/shared/math/expm1bf16.h b/libc/shared/math/expm1bf16.h
index f80a076ce..9aeae7045 100644
--- a/libc/shared/math/expm1bf16.h
+++ b/libc/shared/math/expm1bf16.h
@@ -12,7 +12,6 @@
 ///
 //===----------------------------------------------------------------------===//
 
-
 #ifndef LLVM_LIBC_SHARED_MATH_EXPM1BF16_H
 #define LLVM_LIBC_SHARED_MATH_EXPM1BF16_H
 

``````````

</details>


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


More information about the libc-commits mailing list