[libc] [llvm] [libc][math][c23] Add atan2f16 function (PR #183531)
Muhammad Bassiouni via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 2 10:05:20 PST 2026
================
@@ -1,28 +1,28 @@
-//===-- Implementation header for tanpif16 ----------------------*- C++ -*-===//
+//===-- Shared atan2f16 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_TANPIF16_H
-#define LLVM_LIBC_SHARED_MATH_TANPIF16_H
+#ifndef LLVM_LIBC_SHARED_MATH_ATAN2F16_H
+#define LLVM_LIBC_SHARED_MATH_ATAN2F16_H
#include "shared/libc_common.h"
#ifdef LIBC_TYPES_HAS_FLOAT16
-#include "src/__support/math/tanpif16.h"
+#include "src/__support/math/atan2f16.h"
----------------
bassiounix wrote:
```suggestion
#include "include/llvm-libc-macros/float16-macros.h"
#ifdef LIBC_TYPES_HAS_FLOAT16
#include "shared/libc_common.h"
#include "src/__support/math/atan2f16.h"
```
https://github.com/llvm/llvm-project/pull/183531
More information about the llvm-commits
mailing list