[libc-commits] [libc] [libc][math][c23] Add asinhf16 function (PR #131351)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 25 12:22:05 PDT 2025


================
@@ -0,0 +1,106 @@
+//===-- Half-precision asinh(x) function ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception.
+//
+//===----------------------------------------------------------------------===//
+
+#include "src/math/asinhf16.h"
+#include "explogxf.h"
+#include "hdr/fenv_macros.h"
+#include "src/__support/FPUtil/cast.h"
+#include "src/__support/FPUtil/except_value_utils.h"
+#include "src/__support/FPUtil/multiply_add.h"
+#include "src/__support/FPUtil/sqrt.h"
----------------
overmighty wrote:

Missing include for `fputil::get_round()`/`fputil::quick_get_round()`. Make sure to update the CMakeLists.txt too.

```suggestion
#include "src/__support/FPUtil/rounding_mode.h"
#include "src/__support/FPUtil/sqrt.h"
```

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


More information about the libc-commits mailing list