Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(C++) std::acos

 

std::acos is a mathematical function to calculate the arc cosine.

 

#include <cassert>
#include <cmath>

int main()
{
  assert(std::acos(1.0) == 0.0);
}

 

 

 

 

 

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

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict