[libc-commits] [libc] [libc][math][c23] Add atanhf16 C23 math function. (PR #132612)

via libc-commits libc-commits at lists.llvm.org
Mon Mar 31 07:46:55 PDT 2025


================
@@ -3934,6 +3934,18 @@ add_fp_unittest(
     libc.src.__support.FPUtil.fp_bits
 )
 
+add_fp_unittest(
+  atanhf16_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    atanhf16_test.cpp
+  DEPENDS
+    libc.src.errno.errno
+    libc.src.math.atanhf16
+    libc.src.__support.FPUtil.fp_bits
----------------
overmighty wrote:

```suggestion
    libc.src.__support.FPUtil.cast
```

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


More information about the libc-commits mailing list