// Example of using the GeographicLib::Math class#include <iostream>#include <exception>#include <GeographicLib/Math.hpp>usingnamespacestd;usingnamespaceGeographicLib;intmain(){try{cout<<Math::pi()<<" "<<Math::sq(Math::pi())<<"\n";}catch(constexception&e){cerr<<"Caught exception: "<<e.what()<<"\n";return1;}}