mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Aligned epsilon with other functions
This commit is contained in:
@@ -64,7 +64,7 @@ namespace BlackMisc
|
||||
|
||||
//! Epsilon safe zero @{
|
||||
static bool epsilonZero(double v, double epsilon) { return epsilonEqual(v, 0.0, epsilon); }
|
||||
static bool epsilonZero(double v) { return epsilonEqual(v, 0.0, 1E-09); }
|
||||
static bool epsilonZero(double v) { return epsilonEqual(v, 0.0, 1E-06); }
|
||||
static inline bool epsilonZeroLimits(double v) { return qAbs(v) <= std::numeric_limits<double>::epsilon(); }
|
||||
//! @}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user