Skip to main content

Module atanh

Module atanh 

Source
Expand description

Implementations of Atanh and AtanhAssign, traits for computing the inverse hyperbolic tangent of Floats.

Functionsยง

primitive_float_atanh
Computes $\operatorname{atanh} x$, the inverse hyperbolic tangent of a primitive float. Using this function is more accurate than using the default atanh function or the one provided by libm.
primitive_float_atanh_rational
Computes $\operatorname{atanh} x$, the inverse hyperbolic tangent of a Rational, returning the result as a primitive float. The result is correctly rounded.