xref: /llvm-project/libc/src/math/generic/fabsf128.cpp (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
11048b599Slntue //===-- Implementation of fabsf128 function -------------------------------===//
21048b599Slntue //
31048b599Slntue // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
41048b599Slntue // See https://llvm.org/LICENSE.txt for license information.
51048b599Slntue // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
61048b599Slntue //
71048b599Slntue //===----------------------------------------------------------------------===//
81048b599Slntue 
91048b599Slntue #include "src/math/fabsf128.h"
101048b599Slntue #include "src/__support/FPUtil/BasicOperations.h"
111048b599Slntue #include "src/__support/common.h"
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
131048b599Slntue 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
151048b599Slntue 
161048b599Slntue LLVM_LIBC_FUNCTION(float128, fabsf128, (float128 x)) { return fputil::abs(x); }
171048b599Slntue 
18*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
19