pull math functions from std namespace

This commit is contained in:
Dennis Luxen 2014-05-22 14:22:10 +02:00
parent d93b4feb99
commit 8dc631e13c

View File

@ -39,7 +39,7 @@ inline float y2lat(const float a)
inline float lat2y(const float a)
{
return 180.f / M_PI * log(tan(M_PI / 4.f + a * (M_PI / 180.f) / 2.f));
return 180.f / M_PI * std::log(std::tan(M_PI / 4.f + a * (M_PI / 180.f) / 2.f));
}
#endif // MERCATOR_UTIL_H