GeographicLib  1.21
Classes | Namespaces | Defines
Math.hpp File Reference

Header for GeographicLib::Math class. More...

#include <GeographicLib/Constants.hpp>
#include <cmath>
#include <limits>
#include <algorithm>
#include <vector>

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   "$Id: edd244e4c5c74e696096c2b6d598728957a0d36d $"
#define GEOGRAPHICLIB_CPLUSPLUS11_MATH   0
#define WORDS_BIGENDIAN   0
#define GEOGRAPHICLIB_PREC   1

Detailed Description

Header for GeographicLib::Math class.

Copyright (c) Charles Karney (2008-2011) <charles@karney.com> and licensed under the MIT/X11 License. For more information, see http://geographiclib.sourceforge.net/

Definition in file Math.hpp.


Define Documentation

#define GEOGRAPHICLIB_MATH_HPP   "$Id: edd244e4c5c74e696096c2b6d598728957a0d36d $"

Definition at line 15 of file Math.hpp.

#define GEOGRAPHICLIB_CPLUSPLUS11_MATH   0

Are C++11 math functions available?

Definition at line 24 of file Math.hpp.

#define WORDS_BIGENDIAN   0

Definition at line 29 of file Math.hpp.

#define GEOGRAPHICLIB_PREC   1

The precision of floating point numbers used in GeographicLib. 0 means float; 1 (default) means double; 2 means long double. Nearly all the testing has been carried out with doubles and that's the recommended configuration. In order for long double to be used, HAVE_LONG_DOUBLE needs to be defined. Note that with Microsoft Visual Studio, long double is the same as double.

Definition at line 41 of file Math.hpp.