[libc-commits] [libc] [llvm] [libc][math] Implement half precision tgamma function (PR #192590)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Fri Apr 17 02:54:28 PDT 2026


================
@@ -6686,3 +6686,14 @@ add_fp_unittest(
     libc.src.__support.FPUtil.bfloat16
     libc.src.__support.macros.properties.os
 )
+
+add_fp_unittest(
+  tgammaf16_test
+  SUITE
+    libc-math-smoke-tests
+  SRCS
+    tgammaf16_test.cpp
+  DEPENDS
+    libc.src.__support.FPUtil.fp_bits
----------------
vhscampos wrote:

1. This dependency looks wrong as the source file does not include it.
2. Missing dependencies to errno_macros, and potentially to FPMatcher.

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


More information about the libc-commits mailing list