Refactors the copysign math family to be header-only. Closes https://github.com/llvm/llvm-project/issues/182136 Target Functions: - copysign - copysignbf16 - copysignf - copysignf128 - copysignf16 - copysignl --------- Co-authored-by: bassiounix <muhammad.m.bassiouni@gmail.com>
24 lines
708 B
C++
24 lines
708 B
C++
//===-- Shared copysignf function -------------------------------*- 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_SHARED_MATH_COPYSIGNF_H
|
|
#define LLVM_LIBC_SHARED_MATH_COPYSIGNF_H
|
|
|
|
#include "shared/libc_common.h"
|
|
#include "src/__support/math/copysignf.h"
|
|
|
|
namespace LIBC_NAMESPACE_DECL {
|
|
namespace shared {
|
|
|
|
using math::copysignf;
|
|
|
|
} // namespace shared
|
|
} // namespace LIBC_NAMESPACE_DECL
|
|
|
|
#endif // LLVM_LIBC_SHARED_MATH_COPYSIGNF_H
|