1a2bad758SOverMighty //===-- Implementation of nextupl function --------------------------------===// 2a2bad758SOverMighty // 3a2bad758SOverMighty // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4a2bad758SOverMighty // See https://llvm.org/LICENSE.txt for license information. 5a2bad758SOverMighty // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6a2bad758SOverMighty // 7a2bad758SOverMighty //===----------------------------------------------------------------------===// 8a2bad758SOverMighty 9a2bad758SOverMighty #include "src/math/nextupl.h" 10a2bad758SOverMighty #include "src/__support/FPUtil/ManipulationFunctions.h" 11a2bad758SOverMighty #include "src/__support/common.h" 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 13a2bad758SOverMighty 14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 15a2bad758SOverMighty 16a2bad758SOverMighty LLVM_LIBC_FUNCTION(long double, nextupl, (long double x)) { 17a2bad758SOverMighty return fputil::nextupdown</*IsDown=*/false>(x); 18a2bad758SOverMighty } 19a2bad758SOverMighty 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 21