48template <
typename T,
typename = std::enable_if_t<std::is_
floating_po
int_v<T>>>
59 return -expm1_neg / (expm1_neg +
one<T>);
Definition of exp function.
Definition of expm1_maclaurin function.
constexpr auto expm1_maclaurin(T x) -> T
Calculate exponential function minus one with Maclaurin series.
Namespace of constexpr variables and functions.
constexpr auto exp(T x) -> T
Calculate exponential function .
constexpr auto expm1(T x) -> T
Calculate exponential function minus one .