Skip to main content

Module sech

Module sech 

Source
Expand description

Implementations of Sech and SechAssign, traits for computing the hyperbolic secant of Floats.

Functionsยง

primitive_float_sech
Computes $\operatorname{sech} x$, the hyperbolic secant of a primitive float. The result is correctly rounded.
primitive_float_sech_rational
Computes $\operatorname{sech} x$, the hyperbolic secant of a Rational, returning the result as a primitive float. The result is correctly rounded.