43 return( T(1)/( T((order-1)*4 - 1) * x_pow ) \
44 - T(1)/( T((order-1)*4 + 1) * x_pow*x) );
53 return( order == 1 ? \
88 return( depth < max_depth ? \
90 T(2*depth - 1) + depth*depth*xx/
atan_cf_recur(xx,depth+1,max_depth) :
127 GCLIM<T>::quiet_NaN() :
constexpr return_t< T > atan(const T x) noexcept
Compile-time arctangent function.
Definition: atan.hpp:149
#define GCEM_HALF_PI
Definition: gcem_options.hpp:118
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
unsigned int uint_t
Definition: gcem_options.hpp:68
Definition: Eigen_Colamd.h:50
constexpr T atan_check(const T x) noexcept
Definition: atan.hpp:122
constexpr T atan_series_main(const T x) noexcept
Definition: atan.hpp:66
constexpr T atan_begin(const T x) noexcept
Definition: atan.hpp:113
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:36
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:50
constexpr T atan_cf_recur(const T xx, const uint_t depth, const uint_t max_depth) noexcept
Definition: atan.hpp:85
constexpr T atan_cf_main(const T x) noexcept
Definition: atan.hpp:98
constexpr T atan_series_order_calc(const T x, const T x_pow, const uint_t order) noexcept
Definition: atan.hpp:40
constexpr common_t< T1, T2 > pow(const T1 base, const T2 exp_term) noexcept
Compile-time power function.
Definition: pow.hpp:76