21#ifndef _gcem_round_HPP
22#define _gcem_round_HPP
55 return(
abs(x) >= 8388608.f ? \
68 return(
abs(x) >= 4503599627370496. ? \
81 return(
abs(x) >= 9223372036854775808.l ? \
96 GCLIM<T>::quiet_NaN() :
UnitType abs(const UnitType x) noexcept
Compute absolute value.
Definition: math.h:721
constexpr common_t< T1, T2 > min(const T1 x, const T2 y) noexcept
Compile-time pairwise minimum function.
Definition: min.hpp:35
Definition: Eigen_Colamd.h:50
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:36
constexpr float round_check_internal< float >(const float x) noexcept
Definition: round.hpp:52
constexpr long double round_check_internal< long double >(const long double x) noexcept
Definition: round.hpp:78
constexpr bool is_finite(const T x) noexcept
Definition: is_finite.hpp:34
constexpr T round_int(const T x) noexcept
Definition: round.hpp:30
constexpr T round_check(const T x) noexcept
Definition: round.hpp:91
constexpr double round_check_internal< double >(const double x) noexcept
Definition: round.hpp:65
constexpr T floor_check(const T x) noexcept
Definition: floor.hpp:96
constexpr T round_check_internal(const T x) noexcept
Definition: round.hpp:43
constexpr return_t< T > round(const T x) noexcept
Compile-time round function.
Definition: round.hpp:119
constexpr int sgn(const T x) noexcept
Compile-time sign function.
Definition: sgn.hpp:34