[libc-commits] [libc] [libc][math] Implement double precision sin correctly rounded to all rounding modes. (PR #95736)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Jun 20 09:40:23 PDT 2024
================
@@ -1,19 +0,0 @@
-//===-- Implementation of the sin function for x86_64 ---------------------===//
-//
-// 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/sin.h"
-#include "src/__support/common.h"
-
-namespace LIBC_NAMESPACE {
-
-LLVM_LIBC_FUNCTION(double, sin, (double x)) {
- __asm__ __volatile__("fsin" : "+t"(x));
----------------
nickdesaulniers wrote:
lol!
https://github.com/llvm/llvm-project/pull/95736
More information about the libc-commits
mailing list