Go to the source code of this file.
|
template<typename T > |
constexpr T | internal::atanh_compute (const T x) noexcept |
|
template<typename T > |
constexpr T | internal::atanh_check (const T x) noexcept |
|
template<typename T > |
constexpr return_t< T > | atanh (const T x) noexcept |
| Compile-time inverse hyperbolic tangent function. More...
|
|
◆ atanh()
template<typename T >
constexpr return_t< T > atanh |
( |
const T |
x | ) |
|
|
constexprnoexcept |
Compile-time inverse hyperbolic tangent function.
- Parameters
-
- Returns
- the inverse hyperbolic tangent function using
\[ \text{atanh}(x) = \frac{1}{2} \ln \left( \frac{1+x}{1-x} \right) \]