[libc-commits] [libc] [libc][math][c23] Add fabsf16 C23 math function (PR #93567)

via libc-commits libc-commits at lists.llvm.org
Wed May 29 04:40:42 PDT 2024


================
@@ -92,6 +92,19 @@ add_fp_unittest(
     libc.src.__support.FPUtil.fp_bits
 )
 
+add_fp_unittest(
+  fabsf16_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    fabsf16_test.cpp
+  HDRS
+    FAbsTest.h
+  DEPENDS
+    libc.src.math.fabsf16
+    libc.src.__support.FPUtil.fp_bits
----------------
overmighty wrote:

Copied from the surrounding test target definitions, but I don't see why `fp_bits` is being added as a dependency for `fabs*` tests.

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


More information about the libc-commits mailing list