[libc-commits] [libc] [llvm] [libc][math] Refactor logf16 to header-only shared math (PR #175408)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Sun Jan 11 15:16:18 PST 2026
================
@@ -0,0 +1,170 @@
+//===-- Implementation header for logf16 ----------------------*- 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_SRC___SUPPORT_MATH_LOGF16_H
+#define LLVM_LIBC_SRC___SUPPORT_MATH_LOGF16_H
+
----------------
bassiounix wrote:
Guard with `LIBC_TYPES_HAS_FLOAT16`
https://github.com/llvm/llvm-project/pull/175408
More information about the libc-commits
mailing list