25#ifndef _gcem_log1p_HPP
26#define _gcem_log1p_HPP
42 return x + x * ( - x/T(2) + x * ( x/T(3) + x * ( -x/T(4) + x*x/T(5) ) ) );
53 GCLIM<T>::quiet_NaN() :
UnitType abs(const UnitType x) noexcept
Compute absolute value.
Definition: math.h:721
dimensionless::scalar_t log(const ScalarUnit x) noexcept
Compute natural logarithm.
Definition: math.h:349
constexpr return_t< T > log1p(const T x) noexcept
Compile-time natural-logarithm-plus-1 function.
Definition: log1p.hpp:74
Definition: Eigen_Colamd.h:50
constexpr T log1p_check(const T x) noexcept
Definition: log1p.hpp:48
constexpr bool is_nan(const T x) noexcept
Definition: is_nan.hpp:36
constexpr T log1p_compute(const T x) noexcept
Definition: log1p.hpp:38
static constexpr const charge::coulomb_t e(1.6021766208e-19)
elementary charge.