[libc-commits] [compiler-rt] [libc] [llvm] [compiler-rt][builtins] add libc-backed arithmetic builtins (PR #207092)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Wed Jul 8 22:53:56 PDT 2026
================
@@ -0,0 +1,22 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+/// \file
+/// This file implements compiler-rt's __negdf2, double-precision negation,
+/// on top of LLVM-libc's shared::negdf2.
+///
+//===----------------------------------------------------------------------===//
+
+#include "fp_lib.h"
----------------
bassiounix wrote:
DOUBLE_PRECISION macro?
https://github.com/llvm/llvm-project/pull/207092
More information about the libc-commits
mailing list