Skip to main content

Module acoth

Module acoth 

Source
Expand description

Implementations of Acoth and AcothAssign, traits for computing the inverse hyperbolic cotangent of Floats.

Functionsยง

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