WPILibC++ 2023.4.3-108-ge5452e3
ceil.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  internal
 

Functions

template<typename T >
constexpr int internal::ceil_resid (const T x, const T x_whole) noexcept
 
template<typename T >
constexpr T internal::ceil_int (const T x, const T x_whole) noexcept
 
template<typename T >
constexpr T internal::ceil_check_internal (const T x) noexcept
 
template<>
constexpr float internal::ceil_check_internal< float > (const float x) noexcept
 
template<>
constexpr double internal::ceil_check_internal< double > (const double x) noexcept
 
template<>
constexpr long double internal::ceil_check_internal< long double > (const long double x) noexcept
 
template<typename T >
constexpr T internal::ceil_check (const T x) noexcept
 
template<typename T >
constexpr return_t< T > ceil (const T x) noexcept
 Compile-time ceil function. More...
 

Function Documentation

◆ ceil()

template<typename T >
constexpr return_t< T > ceil ( const T  x)
constexprnoexcept

Compile-time ceil function.

Parameters
xa real-valued input.
Returns
computes the ceiling-value of the input.