40#if __cplusplus >= 201402L
49 T res = T(2*(depth+1) - 1);
51 while (depth > depth_end - 1) {
52 res = T(2*depth - 1) - T(depth*depth) * xx / res;
70 T(2*depth - 1) - T(depth*depth) * xx /
log_cf_main(xx,depth+1) :
100 return( x == 2 ? 0.6931471805599453094172321214581765680755L :
101 x == 3 ? 1.0986122886681096913952452369225257046475L :
102 x == 4 ? 1.3862943611198906188344642429163531361510L :
103 x == 5 ? 1.6094379124341003746007593332261876395256L :
104 x == 6 ? 1.7917594692280550008124773583807022727230L :
105 x == 7 ? 1.9459101490553133051053527434431797296371L :
106 x == 8 ? 2.0794415416798359282516963643745297042265L :
107 x == 9 ? 2.1972245773362193827904904738450514092950L :
108 x == 10 ? 2.3025850929940456840179914546843642076011L :
151 (x < T(0.5) || x > T(1.5)) ?
164 return( std::is_integral<T>::value ? \
#define GCEM_LOG_MAX_ITER_SMALL
Definition: gcem_options.hpp:153
#define GCEM_LOG_10
Definition: gcem_options.hpp:94
constexpr FMT_INLINE auto is_constant_evaluated(bool default_value=false) noexcept -> bool
Definition: core.h:304
constexpr T log_cf_main(const T xx, const int depth) noexcept
Definition: log.hpp:65
constexpr T log_mantissa(const T x) noexcept
Definition: log.hpp:115
constexpr T log_cf_begin(const T x) noexcept
Definition: log.hpp:80
constexpr T mantissa(const T x) noexcept
Definition: mantissa.hpp:37
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:39
constexpr T log_check(const T x) noexcept
Definition: log.hpp:133
constexpr llint_t find_exponent(const T x, const llint_t exponent) noexcept
Definition: find_exponent.hpp:37
constexpr long double log_mantissa_integer(const int x) noexcept
Definition: log.hpp:97
constexpr T log_breakup(const T x) noexcept
Definition: log.hpp:124
constexpr T log_main(const T x) noexcept
Definition: log.hpp:89
constexpr return_t< T > log_integral_check(const T x) noexcept
Definition: log.hpp:161
Definition: is_even.hpp:29
constexpr T abs(const T x) noexcept
Compile-time absolute value function.
Definition: abs.hpp:40
constexpr return_t< T > log(const T x) noexcept
Compile-time natural logarithm function.
Definition: log.hpp:186
std::numeric_limits< T > GCLIM
Definition: gcem_options.hpp:74
typename std::conditional< std::is_integral< T >::value, double, T >::type return_t
Definition: gcem_options.hpp:77