Header for GeographicLib::Math class. More...
#include <GeographicLib/Constants.hpp>
#include <cmath>
#include <algorithm>
#include <limits>
Go to the source code of this file.
Classes | |
class | GeographicLib::Math |
Mathematical functions needed by GeographicLib. More... | |
Namespaces | |
namespace | GeographicLib |
Namespace for GeographicLib. | |
Defines | |
#define | GEOGRAPHICLIB_MATH_HPP 1 |
#define | GEOGRAPHICLIB_CXX11_MATH 0 |
#define | GEOGRAPHICLIB_WORDS_BIGENDIAN 0 |
#define | GEOGRAPHICLIB_HAVE_LONG_DOUBLE 0 |
#define | GEOGRAPHICLIB_PRECISION 2 |
#define | GEOGRAPHICLIB_VOLATILE volatile |
#define | GEOGRAPHICLIB_PANIC false |
Header for GeographicLib::Math class.
Copyright (c) Charles Karney (2008-2014) <charles@karney.com> and licensed under the MIT/X11 License. For more information, see http://geographiclib.sourceforge.net/
Definition in file Math.hpp.
#define GEOGRAPHICLIB_CXX11_MATH 0 |
#define GEOGRAPHICLIB_PRECISION 2 |
The precision of floating point numbers used in GeographicLib. 1 means float (single precision); 2 (the default) means double; 3 means long double; 4 is reserved for quadruple precision. Nearly all the testing has been carried out with doubles and that's the recommended configuration. In order for long double to be used, GEOGRAPHICLIB_HAVE_LONG_DOUBLE needs to be defined. Note that with Microsoft Visual Studio, long double is the same as double.
#define GEOGRAPHICLIB_VOLATILE volatile |
Definition at line 83 of file Math.hpp.
Referenced by GeographicLib::Math::sum().
#define GEOGRAPHICLIB_PANIC false |
Definition at line 86 of file Math.hpp.
Referenced by GeographicLib::EllipticFunction::Einv(), GeographicLib::GeodesicExact::GenInverse(), GeographicLib::Geodesic::GenInverse(), GeographicLib::NormalGravity::J2ToFlattening(), GeographicLib::PolarStereographic::Reverse(), GeographicLib::LambertConformalConic::Reverse(), and GeographicLib::EllipticFunction::sncndn().