osrm-backend/include
Daniel J. Hofmann ef171f3acd Properly use typed math constants instead of impl. specific hacks
PI is not in the stdlib, neither is 1/pi, pi*2 and so on. Instead
of relying on implementations providing these, use properly typed
math constants.

Main benefits:
- portable and
- returns constexpr, for compile-time computation

References:
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants_intro.html
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants.html
2016-02-12 15:46:24 -08:00
..
contractor Include real coordinates in debug geojson mode 2016-02-11 17:09:20 -05:00
engine Properly use typed math constants instead of impl. specific hacks 2016-02-12 15:46:24 -08:00
extractor Transforms osrm_exception to exception 2016-02-12 15:46:24 -08:00
osrm Create public facing libraries for extractor, contractor and datastore 2016-01-21 06:47:34 +01:00
server comments 2016-01-29 23:49:09 +01:00
storage Transforms osrm_exception to exception 2016-02-12 15:46:24 -08:00
util Properly use typed math constants instead of impl. specific hacks 2016-02-12 15:46:24 -08:00