45 return T(2)*x/(T(1) + x*x);
#define GCEM_PI
Definition: gcem_options.hpp:98
#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 sin_check(const T x) noexcept
Definition: sin.hpp:51
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:39
constexpr T sin_compute(const T x) noexcept
Definition: sin.hpp:42
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 > sin(const T x) noexcept
Compile-time sine function.
Definition: sin.hpp:85
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