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) ) ) );
79 if (std::is_constant_evaluated()) {
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
constexpr T abs(const T x) noexcept
Compile-time absolute value function.
Definition abs.hpp:40
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
constexpr return_t< T > expm1(const T x) noexcept
Compile-time exponential-minus-1 function.
Definition expm1.hpp:76