#include <cmath>
#include
double tanh (double x)
Liefert den Tangens hyberbolicus von x.
x
Rückgabewert: sinh(x)/cosh(x).
sinh(x)/cosh(x)
cosh(), sinh(), tan().
#include <cmath> #include <iostream> int main() { std::cout << "tanh(1) = " << std::tanh(1) << '\n'; }