Shourya Goel 78c2b6d483
[libc][complex] Implement different flavors of the conj function (#118671)
Refer section 7.3.9.4 of ISO/IEC 9899:2023
2024-12-10 10:05:11 +05:30

21 lines
637 B
C++

//===-- Implementation header for conj --------------------------*- 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_SRC_COMPLEX_CONJ_H
#define LLVM_LIBC_SRC_COMPLEX_CONJ_H
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
_Complex double conj(_Complex double x);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_COMPLEX_CONJ_H