[libc] [llvm] [libc][math] Refactor acoshf16 implementation to header-only in src/__support/math folder. (PR #148568)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 13 23:42:12 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 h,cpp -- libc/shared/math/acos.h libc/shared/math/acosf.h libc/shared/math/acosf16.h libc/shared/math/acoshf.h libc/shared/math/acoshf16.h libc/shared/math/erff.h libc/shared/math/exp.h libc/shared/math/exp10.h libc/shared/math/exp10f.h libc/shared/math/exp10f16.h libc/shared/math/ldexpf.h libc/shared/math/ldexpf128.h libc/shared/math/ldexpf16.h libc/src/__support/math/acos.h libc/src/__support/math/acosf.h libc/src/__support/math/acosf16.h libc/src/__support/math/acosh_float_constants.h libc/src/__support/math/acoshf.h libc/src/__support/math/acoshf16.h libc/src/__support/math/acoshf_utils.h libc/src/__support/math/erff.h libc/src/__support/math/exp.h libc/src/__support/math/exp10.h libc/src/__support/math/exp10_float16_constants.h libc/src/__support/math/exp10f16.h libc/src/__support/math/exp10f16_utils.h libc/src/__support/math/exp10f_utils.h libc/src/__support/math/exp_constants.h libc/src/__support/math/exp_utils.h libc/src/__support/math/ldexpf.h libc/src/__support/math/ldexpf128.h libc/src/__support/math/ldexpf16.h libc/shared/math.h libc/src/__support/FPUtil/double_double.h libc/src/math/generic/acos.cpp libc/src/math/generic/acosf.cpp libc/src/math/generic/acosf16.cpp libc/src/math/generic/acoshf.cpp libc/src/math/generic/acoshf16.cpp libc/src/math/generic/asin.cpp libc/src/math/generic/asinf.cpp libc/src/math/generic/atan2f.cpp libc/src/math/generic/atanf.cpp libc/src/math/generic/atanhf.cpp libc/src/math/generic/common_constants.cpp libc/src/math/generic/common_constants.h libc/src/math/generic/coshf.cpp libc/src/math/generic/erff.cpp libc/src/math/generic/exp.cpp libc/src/math/generic/exp10.cpp libc/src/math/generic/exp10f.cpp libc/src/math/generic/exp10f16.cpp libc/src/math/generic/exp10m1f16.cpp libc/src/math/generic/explogxf.h libc/src/math/generic/expxf16.h libc/src/math/generic/ldexpf.cpp libc/src/math/generic/ldexpf128.cpp libc/src/math/generic/ldexpf16.cpp libc/src/math/generic/powf.cpp libc/src/math/generic/sinhf.cpp libc/src/__support/math/asin_utils.h libc/src/__support/math/exp10f.h libc/src/__support/math/inv_trigf_utils.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/shared/math/acoshf16.h b/libc/shared/math/acoshf16.h
index 2d6be2c9a..9a0d51694 100644
--- a/libc/shared/math/acoshf16.h
+++ b/libc/shared/math/acoshf16.h
@@ -1,4 +1,5 @@
-//===-- Shared acoshf16 function ----------------------------------*- C++ -*-===//
+//===-- Shared acoshf16 function ----------------------------------*- C++
+//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
``````````
</details>
https://github.com/llvm/llvm-project/pull/148568
More information about the llvm-commits
mailing list