Files
5f9b0ad685 [libc][math] Refactor rint-nearbyint family to header-only (#195577)
Refactors the rint-nearbyint math family to be header-only.

part of: #147386

Target Functions:
  - nearbyint
  - nearbyintbf16
  - nearbyintf
  - nearbyintf128
  - nearbyintf16
  - nearbyintl
  - rint
  - rintbf16
  - rintf
  - rintf128
  - rintf16
  - rintl

---------

Co-authored-by: Muhammad Bassiouni <60100307+bassiounix@users.noreply.github.com>
Co-authored-by: bassiounix <muhammad.m.bassiouni@gmail.com>
2026-05-04 06:32:34 +03:00

24 lines
683 B
C++

//===-- Shared rint function ------------------------------------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SHARED_MATH_RINT_H
#define LLVM_LIBC_SHARED_MATH_RINT_H
#include "shared/libc_common.h"
#include "src/__support/math/rint.h"
namespace LIBC_NAMESPACE_DECL {
namespace shared {
using math::rint;
} // namespace shared
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SHARED_MATH_RINT_H