[libc-commits] [libc] [libc][math][c23] Add acospif16() function (PR #134664)
via libc-commits
libc-commits at lists.llvm.org
Mon Apr 7 08:39:27 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- libc/src/math/acospif16.h libc/src/math/generic/acospif16.cpp libc/test/src/math/acospif16_test.cpp libc/test/src/math/smoke/acospif16_test.cpp libc/utils/MPFRWrapper/MPCommon.cpp libc/utils/MPFRWrapper/MPFRUtils.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/utils/MPFRWrapper/MPFRUtils.cpp b/libc/utils/MPFRWrapper/MPFRUtils.cpp
index bbafa497e..8853f96ef 100644
--- a/libc/utils/MPFRWrapper/MPFRUtils.cpp
+++ b/libc/utils/MPFRWrapper/MPFRUtils.cpp
@@ -33,7 +33,7 @@ unary_operation(Operation op, InputType input, unsigned int precision,
case Operation::Acosh:
return mpfrInput.acosh();
case Operation::Acospi:
- return mpfrInput.acospi();
+ return mpfrInput.acospi();
case Operation::Asin:
return mpfrInput.asin();
case Operation::Asinh:
``````````
</details>
https://github.com/llvm/llvm-project/pull/134664
More information about the libc-commits
mailing list