25#ifndef _gcem_expm1_HPP
26#define _gcem_expm1_HPP
44 return x + x * ( x/T(2) + x * ( x/T(6) + x * ( x/T(24) + x*x/T(120) ) ) );
constexpr FMT_INLINE auto is_constant_evaluated(bool default_value=false) noexcept -> bool
Definition: core.h:304
constexpr T expm1_check(const T x) noexcept
Definition: expm1.hpp:50
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:39
constexpr T expm1_compute(const T x) noexcept
Definition: expm1.hpp:40
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 > expm1(const T x) noexcept
Compile-time exponential-minus-1 function.
Definition: expm1.hpp:76
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
static constexpr const charge::coulomb_t e(1.6021766208e-19)
elementary charge.