49 return( T(1)/( T((order-1)*4 - 1) * x_pow ) \
50 - T(1)/( T((order-1)*4 + 1) * x_pow*x) );
59 return( order == 1 ? \
94 return( depth < max_depth ? \
96 T(2*depth - 1) + depth*depth*xx/
atan_cf_recur(xx,depth+1,max_depth) :
#define GCEM_HALF_PI
Definition: gcem_options.hpp:118
constexpr FMT_INLINE auto is_constant_evaluated(bool default_value=false) noexcept -> bool
Definition: core.h:304
constexpr T atan_check(const T x) noexcept
Definition: atan.hpp:128
constexpr T atan_cf_main(const T x) noexcept
Definition: atan.hpp:104
constexpr T atan_cf_recur(const T xx, const uint_t depth, const uint_t max_depth) noexcept
Definition: atan.hpp:91
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:39
constexpr T atan_series_main(const T x) noexcept
Definition: atan.hpp:72
constexpr T atan_begin(const T x) noexcept
Definition: atan.hpp:119
constexpr T atan_series_order(const T x, const T x_pow, const uint_t order, const uint_t max_order) noexcept
Definition: atan.hpp:56
constexpr T atan_series_order_calc(const T x, const T x_pow, const uint_t order) noexcept
Definition: atan.hpp:46
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 > atan(const T x) noexcept
Compile-time arctangent function.
Definition: atan.hpp:155
constexpr common_t< T1, T2 > pow(const T1 base, const T2 exp_term) noexcept
Compile-time power function.
Definition: pow.hpp:82
std::numeric_limits< T > GCLIM
Definition: gcem_options.hpp:74
unsigned int uint_t
Definition: gcem_options.hpp:68
typename std::conditional< std::is_integral< T >::value, double, T >::type return_t
Definition: gcem_options.hpp:77