1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// Implementation of the fminimum_magf80 function.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_FMINIMUM_MAGF80_H
15#define LLVM_LIBC_SRC___SUPPORT_MATH_FMINIMUM_MAGF80_H
16
17#include "src/__support/FPUtil/BasicOperations.h"
18#include "src/__support/FPUtil/float80.h"
19#include "src/__support/macros/config.h"
20
21namespace LIBC_NAMESPACE_DECL {
22namespace math {
23
24using LIBC_NAMESPACE::fputil::Float80;
25
26LIBC_INLINE constexpr Float80 fminimum_magf80(Float80 x, Float80 y) {
27 return fputil::fminimum_mag(x, y);
28}
29
30} // namespace math
31} // namespace LIBC_NAMESPACE_DECL
32
33#endif // LLVM_LIBC_SRC___SUPPORT_MATH_FMINIMUM_MAGF80_H
34