[libc-commits] [libc] [llvm] [libc][math] Refactor f16sqrtl to Header Only. (PR #176333)

via libc-commits libc-commits at lists.llvm.org
Fri Jan 16 19:55:37 PST 2026


================
@@ -1,26 +1,32 @@
-//===-- Implementation header for dfmal -----------------------------------===//
+//===-- Implementation of f16sqrt function --------------------------------===//
 //
 // 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_DFMAL_H
-#define LLVM_LIBC_SRC___SUPPORT_MATH_DFMAL_H
 
-#include "src/__support/FPUtil/FMA.h"
+#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_F16SQRTL_H
+#define LLVM_LIBC_SRC___SUPPORT_MATH_F16SQRTL_H
+
----------------
AnonMiraj wrote:

```suggestion
#include "include/llvm-libc-macros/float16-macros.h"

```

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


More information about the libc-commits mailing list