[libc-commits] [libc] [libc][complex] Enable cabs and cabsf in libc (PR #206677)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Tue Jun 30 06:36:10 PDT 2026


================
@@ -0,0 +1,27 @@
+//===----------------------------------------------------------------------===//
+//
+// 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 contains the implementation of cabs.
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/complex/cabs.h"
+#include "src/__support/CPP/bit.h"
+#include "src/__support/common.h"
----------------
vhscampos wrote:

Missing `macros.config.h` for `LIBC_NAMESPACE_DECL`. Even though it is included in the header, the symbol is used here too.

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


More information about the libc-commits mailing list