[libc-commits] [libc] [llvm] [libc][math] Add tgammabf16 math support for bfloat16. (PR #208689)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Fri Jul 17 02:19:19 PDT 2026
================
@@ -0,0 +1,23 @@
+//===-- Shared tgammabf16 function ------------------------------*- C++ -*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SHARED_MATH_TGAMMABF16_H
+#define LLVM_LIBC_SHARED_MATH_TGAMMABF16_H
+
+#include "shared/libc_common.h"
+#include "src/__support/math/tgammabf16.h"
+
+namespace LIBC_NAMESPACE_DECL {
----------------
vhscampos wrote:
This macro is defined in `__support/macros/config.h`. Can you include it here and add it to the CMake dependencies?
https://github.com/llvm/llvm-project/pull/208689
More information about the libc-commits
mailing list