42 T(2*depth - 1) - T(depth*depth)*xx/
log_cf_main(xx,depth+1) :
70 return( x == 2 ? 0.6931471805599453094172321214581765680755L :
71 x == 3 ? 1.0986122886681096913952452369225257046475L :
72 x == 4 ? 1.3862943611198906188344642429163531361510L :
73 x == 5 ? 1.6094379124341003746007593332261876395256L :
74 x == 6 ? 1.7917594692280550008124773583807022727230L :
75 x == 7 ? 1.9459101490553133051053527434431797296371L :
76 x == 8 ? 2.0794415416798359282516963643745297042265L :
77 x == 9 ? 2.1972245773362193827904904738450514092950L :
78 x == 10 ? 2.3025850929940456840179914546843642076011L :
107 GCLIM<T>::quiet_NaN() :
110 GCLIM<T>::quiet_NaN() :
113 - GCLIM<T>::infinity() :
118 x == GCLIM<T>::infinity() ? \
119 GCLIM<T>::infinity() :
121 (x < T(0.5) || x > T(1.5)) ?
134 return( std::is_integral<T>::value ? \
136 -
GCLIM<return_t<T>>::infinity() :
138 log_check(
static_cast<return_t<T>
>(x) ) :
139 static_cast<return_t<T>
>(0) :
140 log_check(
static_cast<return_t<T>
>(x) ) );
#define GCEM_LOG_MAX_ITER_SMALL
Definition: gcem_options.hpp:153
#define GCEM_LOG_10
Definition: gcem_options.hpp:94
UnitType abs(const UnitType x) noexcept
Compute absolute value.
Definition: math.h:721
constexpr return_t< T > log(const T x) noexcept
Compile-time natural logarithm function.
Definition: log.hpp:156
constexpr common_t< T1, T2 > min(const T1 x, const T2 y) noexcept
Compile-time pairwise minimum function.
Definition: min.hpp:35
std::numeric_limits< T > GCLIM
Definition: gcem_options.hpp:74
Definition: Eigen_Colamd.h:50
constexpr T log_cf_begin(const T x) noexcept
Definition: log.hpp:50
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:36
constexpr llint_t find_exponent(const T x, const llint_t exponent) noexcept
Definition: find_exponent.hpp:34
constexpr T log_main(const T x) noexcept
Definition: log.hpp:59
constexpr long double log_mantissa_integer(const int x) noexcept
Definition: log.hpp:67
constexpr T log_check(const T x) noexcept
Definition: log.hpp:103
constexpr T mantissa(const T x) noexcept
Definition: mantissa.hpp:34
constexpr T log_breakup(const T x) noexcept
Definition: log.hpp:94
constexpr return_t< T > log_integral_check(const T x) noexcept
Definition: log.hpp:131
constexpr T log_mantissa(const T x) noexcept
Definition: log.hpp:85
constexpr T log_cf_main(const T xx, const int depth) noexcept
Definition: log.hpp:37