xref: /llvm-project/libc/src/math/generic/fminf128.cpp (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
10b0cce89Sfelixh5678 //===-- Implementation of fminf128 function -------------------------------===//
20b0cce89Sfelixh5678 //
30b0cce89Sfelixh5678 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b0cce89Sfelixh5678 // See https://llvm.org/LICENSE.txt for license information.
50b0cce89Sfelixh5678 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b0cce89Sfelixh5678 //
70b0cce89Sfelixh5678 //===----------------------------------------------------------------------===//
80b0cce89Sfelixh5678 
90b0cce89Sfelixh5678 #include "src/math/fminf128.h"
100b0cce89Sfelixh5678 #include "src/__support/FPUtil/BasicOperations.h"
110b0cce89Sfelixh5678 #include "src/__support/common.h"
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
130b0cce89Sfelixh5678 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
150b0cce89Sfelixh5678 
160b0cce89Sfelixh5678 LLVM_LIBC_FUNCTION(float128, fminf128, (float128 x, float128 y)) {
170b0cce89Sfelixh5678   return fputil::fmin(x, y);
180b0cce89Sfelixh5678 }
190b0cce89Sfelixh5678 
20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
21