163cda2d1SOverMighty //===-- Implementation of nextupf16 function ------------------------------===// 263cda2d1SOverMighty // 363cda2d1SOverMighty // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 463cda2d1SOverMighty // See https://llvm.org/LICENSE.txt for license information. 563cda2d1SOverMighty // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 663cda2d1SOverMighty // 763cda2d1SOverMighty //===----------------------------------------------------------------------===// 863cda2d1SOverMighty 963cda2d1SOverMighty #include "src/math/nextupf16.h" 1063cda2d1SOverMighty #include "src/__support/FPUtil/ManipulationFunctions.h" 1163cda2d1SOverMighty #include "src/__support/common.h" 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 1363cda2d1SOverMighty 14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 1563cda2d1SOverMighty 1663cda2d1SOverMighty LLVM_LIBC_FUNCTION(float16, nextupf16, (float16 x)) { 1763cda2d1SOverMighty return fputil::nextupdown</*IsDown=*/false>(x); 1863cda2d1SOverMighty } 1963cda2d1SOverMighty 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 21