llvm-c166/libc/shared/math/llrint.h
Anonmiraj 82f9618d44
[libc][math] Refactor lrint_lround family to header-only (#195441)
Refactors the lrint_lround math family to be header-only.

part of: #147386

Target Functions:
  - llrint
  - llrintbf16
  - llrintf
  - llrintf128
  - llrintf16
  - llrintl
  - llround
  - llroundbf16
  - llroundf
  - llroundf128
  - llroundf16
  - llroundl
  - lrint
  - lrintbf16
  - lrintf
  - lrintf128
  - lrintf16
  - lrintl
  - lround
  - lroundbf16
  - lroundf
  - lroundf128
  - lroundf16
  - lroundl
2026-05-02 15:25:49 +03:00

23 lines
693 B
C++

//===-- Shared llrint 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_LLRINT_H
#define LLVM_LIBC_SHARED_MATH_LLRINT_H
#include "shared/libc_common.h"
#include "src/__support/math/llrint.h"
namespace LIBC_NAMESPACE_DECL {
namespace shared {
using math::llrint;
} // namespace shared
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SHARED_MATH_LLRINT_H