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

via libc-commits libc-commits at lists.llvm.org
Fri Apr 17 06:05:31 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
----------------
AnonMiraj wrote:

Thanks for catching that I forgot to remove it!

as for FPMathcer it is included implicitly by the add_fp_unittest wrapper.

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


More information about the libc-commits mailing list