xref: /llvm-project/libc/src/math/generic/copysignf128.cpp (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
13f906f51Slntue //===-- Implementation of copysignf128 function ---------------------------===//
23f906f51Slntue //
33f906f51Slntue // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
43f906f51Slntue // See https://llvm.org/LICENSE.txt for license information.
53f906f51Slntue // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
63f906f51Slntue //
73f906f51Slntue //===----------------------------------------------------------------------===//
83f906f51Slntue 
93f906f51Slntue #include "src/math/copysignf128.h"
103f906f51Slntue #include "src/__support/FPUtil/ManipulationFunctions.h"
113f906f51Slntue #include "src/__support/common.h"
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
133f906f51Slntue 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
153f906f51Slntue 
163f906f51Slntue LLVM_LIBC_FUNCTION(float128, copysignf128, (float128 x, float128 y)) {
173f906f51Slntue   return fputil::copysign(x, y);
183f906f51Slntue }
193f906f51Slntue 
20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
21