diff options
Diffstat (limited to 'libc/src/math/fminl.cpp')
| -rw-r--r-- | libc/src/math/fminl.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/src/math/fminl.cpp b/libc/src/math/fminl.cpp new file mode 100644 index 000000000000..e66f0d72bfc3 --- /dev/null +++ b/libc/src/math/fminl.cpp @@ -0,0 +1,18 @@ +//===-- Implementation of fminl function ----------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#include "src/__support/common.h" +#include "utils/FPUtil/BasicOperations.h" + +namespace __llvm_libc { + +long double LLVM_LIBC_ENTRYPOINT(fminl)(long double x, long double y) { + return fputil::fmin(x, y); +} + +} // namespace __llvm_libc |
