Home
last modified time | relevance | path

Searched refs:rounding_offset (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/
H A Dring_util.hpp83 const double rounding_offset = 1e-12; variable
91 return static_cast<T>(std::ceil(val - 0.5 + rounding_offset)); in round_towards_min()
99 return static_cast<T>(std::floor(val + 0.5 + rounding_offset)); in round_towards_max()