diff options
Diffstat (limited to 'basegfx/source/workbench/bezierclip.hxx')
-rw-r--r-- | basegfx/source/workbench/bezierclip.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/workbench/bezierclip.hxx b/basegfx/source/workbench/bezierclip.hxx index 36d2f89a893f..54cceb414f33 100644 --- a/basegfx/source/workbench/bezierclip.hxx +++ b/basegfx/source/workbench/bezierclip.hxx @@ -73,7 +73,7 @@ template <typename NumType> NumType absval( NumType x ) Polygon2D convexHull( const Polygon2D& rPoly ); // TODO: find proper epsilon here (try std::numeric_limits<NumType>::epsilon()?)! -#define DBL_EPSILON 1.0e-100 +constexpr auto DBL_EPSILON = 1.0e-100; /* little approximate comparisons */ template <typename NumType> bool tolZero( NumType n ) { return fabs(n) < DBL_EPSILON; } |