TypstDocumentation

calc.tanh

Calculate the hyperbolic tangent of an angle.

When called with an integer or a float, they will be interpreted as radians.

Example

#calc.tanh(0) \
#calc.tanh(45deg)
Preview

Parameters
Question mark

calc.tanh() -> float

angle
integer or float or angle
RequiredPositional
Question mark

The angle whose hyperbolic tangent to calculate.