Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

asinh

#include <boost/math/special_functions/asinh.hpp>

template<class T> 
calculated-result-type asinh(const T x);

template<class T, class Policy> 
calculated-result-type asinh(const T x, const Policy&);

Computes the reciprocal of the hyperbolic sine function. Taylor series are used at the origin and Laurent series are used near the infinity to ensure accuracy.

The return type of this function is computed using the result type calculation rules: the return type is double when T is an integer type, and T otherwise.

The final Policy argument is optional and can be used to control the behaviour of the function: how it handles errors, what level of precision to use etc. Refer to the policy documentation for more details.


PrevUpHomeNext