Cordic is an extremely fast and efficient algorithm for implementing trigonometric functions. The most common implementations you can find refer to sin/cos functions but it can be used for their hyperbolic counterparts.
Once you have an implementation for sinh/cosh is easy to get tanh.
Cordic is an extremely fast and efficient algorithm for implementing trigonometric functions. The most common implementations you can find refer to sin/cos functions but it can be used for their hyperbolic counterparts.
Once you have an implementation for sinh/cosh is easy to get tanh.
Have a look here