18ff96eb1SOverMighty //===-- Implementation of nextupf function --------------------------------===// 28ff96eb1SOverMighty // 38ff96eb1SOverMighty // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 48ff96eb1SOverMighty // See https://llvm.org/LICENSE.txt for license information. 58ff96eb1SOverMighty // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 68ff96eb1SOverMighty // 78ff96eb1SOverMighty //===----------------------------------------------------------------------===// 88ff96eb1SOverMighty 98ff96eb1SOverMighty #include "src/math/nextupf.h" 108ff96eb1SOverMighty #include "src/__support/FPUtil/ManipulationFunctions.h" 118ff96eb1SOverMighty #include "src/__support/common.h" 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 138ff96eb1SOverMighty 14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 158ff96eb1SOverMighty 168ff96eb1SOverMighty LLVM_LIBC_FUNCTION(float, nextupf, (float x)) { 178ff96eb1SOverMighty return fputil::nextupdown</*IsDown=*/false>(x); 188ff96eb1SOverMighty } 198ff96eb1SOverMighty 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 21