tanh
Calculates the hyperbolic tangent: sinh(x) / cosh(x)
Properties
- tanh(0) = 0
- Range: (-1, 1)
- Commonly used as activation function in ML
Fully qualified path: cairo_fp::f128::math::hyp::tanh
fn tanh(a: Fixed) -> Fixed
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help