Refactors the fdim math family to be header-only. Closes https://github.com/llvm/llvm-project/issues/182188 Target Functions: - fdim - fdimbf16 - fdimf - fdimf128 - fdimf16 - fdiml
23 lines
671 B
C++
23 lines
671 B
C++
//===-- Shared fdimbf16 function --------------------------------*- 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_SHARED_MATH_FDIMBF16_H
|
|
#define LLVM_LIBC_SHARED_MATH_FDIMBF16_H
|
|
|
|
#include "src/__support/math/fdimbf16.h"
|
|
|
|
namespace LIBC_NAMESPACE_DECL {
|
|
namespace shared {
|
|
|
|
using math::fdimbf16;
|
|
|
|
} // namespace shared
|
|
} // namespace LIBC_NAMESPACE_DECL
|
|
|
|
#endif // LLVM_LIBC_SHARED_MATH_FDIMBF16_H
|