[libc-commits] [libc] [libc] Add sinpif16 function (PR #110994)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Oct 3 08:09:01 PDT 2024
================
@@ -0,0 +1,197 @@
+//===-- Half-precision sinpif 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
+//
+//===----------------------------------------------------------------------===//
+#include "src/math/sinpif16.h"
+#include "src/__support/FPUtil/FEnvImpl.h"
+#include "src/__support/FPUtil/FPBits.h"
+#include "src/__support/FPUtil/PolyEval.h"
+#include "src/__support/FPUtil/multiply_add.h"
+#include "src/__support/FPUtil/nearest_integer.h"
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
+
+// TODO: Should probably create a new file; sincospif16_utils.h
+// To store the following helper functions and constants.
+// I'd defer to @lntue for suggestions regarding that
----------------
nickdesaulniers wrote:
Either way, let's ensure we don't commit this comment when merging.
https://github.com/llvm/llvm-project/pull/110994
More information about the libc-commits
mailing list