WPILibC++ 2023.4.3
asinh.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  internal
 

Functions

template<typename T >
constexpr T internal::asinh_compute (const T x) noexcept
 
template<typename T >
constexpr return_t< T > asinh (const T x) noexcept
 Compile-time inverse hyperbolic sine function. More...
 

Function Documentation

◆ asinh()

template<typename T >
constexpr return_t< T > asinh ( const T  x)
constexprnoexcept

Compile-time inverse hyperbolic sine function.

Parameters
xa real-valued input.
Returns
the inverse hyperbolic sine function using

\[ \text{asinh}(x) = \ln \left( x + \sqrt{x^2 + 1} \right) \]