40#if __cplusplus >= 201402L
51 while (depth > depth_end - 1) {
52 res = x + 2 * depth / res;
90#if __cplusplus >= 201402L
99 T res = T(2*(depth+1) - 1) - 2 * xx;
101 while (depth > depth_end - 1) {
102 res = T(2*depth - 1) - 2 * xx + 4 * depth * xx / res;
120 (2*depth - T(1)) - 2 * xx \
123 (2*depth - T(1)) - 2*xx );
146 return( x > T(2.1) ? \
194 if (std::is_constant_evaluated()) {
#define GCEM_SQRT_PI
Definition gcem_options.hpp:122
#define GCEM_ERF_MAX_ITER
Definition gcem_options.hpp:137
constexpr T erf_cf_small_recur(const T xx, const int depth) noexcept
Definition erf.hpp:115
constexpr T erf_cf_small_main(const T x) noexcept
Definition erf.hpp:131
constexpr bool is_nan(const T x) noexcept
Definition is_nan.hpp:39
constexpr T erf_begin(const T x) noexcept
Definition erf.hpp:143
constexpr bool is_posinf(const T x) noexcept
Definition is_inf.hpp:84
constexpr T erf_cf_large_recur(const T x, const int depth) noexcept
Definition erf.hpp:65
constexpr T erf_cf_large_main(const T x) noexcept
Definition erf.hpp:80
constexpr bool is_neginf(const T x) noexcept
Definition is_inf.hpp:37
constexpr T erf_check(const T x) noexcept
Definition erf.hpp:156
constexpr T abs(const T x) noexcept
Compile-time absolute value function.
Definition abs.hpp:40
constexpr return_t< T > erf(const T x) noexcept
Compile-time Gaussian error function.
Definition erf.hpp:191
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