Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::tanh

 

std::tanh is an STL mathematical function to calculate the hyperbolic tangent.

 

#include <cmath>

int main()
{
  const double x = std::tanh(0.0);
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict