blob: 39e3050c9f3113b525cf0c652a46ed962f59317e [file]
//===-- Implementation header for fdimf -------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC___SUPPORT_MATH_FDIMF_H
#define LLVM_LIBC_SRC___SUPPORT_MATH_FDIMF_H
#include "src/__support/FPUtil/BasicOperations.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
namespace math {
LIBC_INLINE constexpr float fdimf(float x, float y) {
return fputil::fdim(x, y);
}
} // namespace math
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC___SUPPORT_MATH_FDIMF_H