[libc-commits] [libc] [libc][math][c23] implement C23 math function asinpif16 (PR #146226)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 9 18:49:19 PDT 2025


================
@@ -0,0 +1,89 @@
+//===-- Unittests for asinpif16 -------------------------------------------===//
+//
+// 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/asinpif16.h"
+#include "src/math/fabs.h"
+#include "test/UnitTest/FPMatcher.h"
+
+using LlvmLibcAsinpif16Test = LIBC_NAMESPACE::testing::FPTest<float16>;
+
+TEST_F(LlvmLibcAsinpif16Test, SpecialNumbers) {
+  using FPBits = LIBC_NAMESPACE::fputil::FPBits<float16>;
+
----------------
overmighty wrote:

`FPTest` already defines this.

```suggestion
```

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


More information about the libc-commits mailing list