Refactors the bf16sub math family to be header-only. Closes https://github.com/llvm/llvm-project/issues/182114 Target Functions: - bf16sub - bf16subf - bf16subf128
23 lines
666 B
C++
23 lines
666 B
C++
//===-- Shared bf16sub 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_BF16SUB_H
|
|
#define LLVM_LIBC_SHARED_MATH_BF16SUB_H
|
|
|
|
#include "src/__support/math/bf16sub.h"
|
|
|
|
namespace LIBC_NAMESPACE_DECL {
|
|
namespace shared {
|
|
|
|
using math::bf16sub;
|
|
|
|
} // namespace shared
|
|
} // namespace LIBC_NAMESPACE_DECL
|
|
|
|
#endif // LLVM_LIBC_SHARED_MATH_BF16SUB_H
|