blob: 0eb92243a15ef10d9d0e5e0f642eaac534c709d8 [file] [log] [blame]
//===-- Implementation of fegetround function -----------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
#include "src/__support/common.h"
#include "utils/FPUtil/FEnv.h"
namespace __llvm_libc {
int LLVM_LIBC_ENTRYPOINT(fegetround)() { return fputil::getRound(); }
} // namespace __llvm_libc