diff options
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qglobal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 28b9d08..5fd05c0 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1709,7 +1709,7 @@ static inline bool qFuzzyCompare(float p1, float p2) /*! \internal */ -static inline bool qIsFuzzyNull(double d) +static inline bool qFuzzyIsNull(double d) { return qAbs(d) <= 0.000000000001; } @@ -1717,7 +1717,7 @@ static inline bool qIsFuzzyNull(double d) /*! \internal */ -static inline bool qIsFuzzyNull(float f) +static inline bool qFuzzyIsNull(float f) { return qAbs(f) <= 0.00001f; } |