Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::tan (an abbreviation of 'tangens') is a mathematical STL function that returns the tangens of an inputted value. This value must be supplied in radians.
#include <cmath> |
Screen output:
std::tan(-8/8 pi) = +1.22461e-16 |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.