1//===-- Shared nexttowardf16 function ---------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIBC_SHARED_MATH_NEXTTOWARDF16_H
10#define LLVM_LIBC_SHARED_MATH_NEXTTOWARDF16_H
11
12#include "include/llvm-libc-macros/float16-macros.h"
13#include "shared/libc_common.h"
14#include "src/__support/macros/properties/types.h"
15
16#if defined(LIBC_TYPES_HAS_FLOAT16) && \
17 !defined(LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE)
18
19#include "src/__support/math/nexttowardf16.h"
20
21namespace LIBC_NAMESPACE_DECL {
22namespace shared {
23
24using math::nexttowardf16;
25
26} // namespace shared
27} // namespace LIBC_NAMESPACE_DECL
28
29#endif // LIBC_TYPES_HAS_FLOAT16
30
31#endif // LLVM_LIBC_SHARED_MATH_NEXTTOWARDF16_H
32