25#ifndef _gcem_log1p_HPP
26#define _gcem_log1p_HPP
48 return x + x * ( - x/T(2) + x * ( x/T(3) + x * ( -x/T(4) + x*x/T(5) ) ) );
constexpr FMT_INLINE auto is_constant_evaluated(bool default_value=false) noexcept -> bool
Definition: core.h:304
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:39
constexpr T log1p_check(const T x) noexcept
Definition: log1p.hpp:54
constexpr T log1p_compute(const T x) noexcept
Definition: log1p.hpp:44
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 > log(const T x) noexcept
Compile-time natural logarithm function.
Definition: log.hpp:186
constexpr return_t< T > log1p(const T x) noexcept
Compile-time natural-logarithm-plus-1 function.
Definition: log1p.hpp:80
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.