diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/math.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index a9b30a4dc498..96c5843dcfea 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -170,7 +170,7 @@ bool isRepresentableInteger(double fAbsValue) // this here. double fInt; return (nInt <= kMaxInt && - (((fInt = static_cast< double >(nInt)) >= fAbsValue) && (fInt <= fAbsValue))); + (!((fInt = static_cast< double >(nInt)) < fAbsValue) && !(fInt > fAbsValue))); } return false; } |