162#if defined __GNUC__ && !defined __clang__
163#pragma GCC diagnostic push
164#pragma GCC diagnostic ignored "-Wstrict-overflow"
167#if defined __GNUC__ && !defined __clang__
168#pragma GCC diagnostic pop
231 bool bLessThanZero(
nValue < 0);
233 if(
nValue > 0 || bLessThanZero)
272#if defined _MSC_VER && defined(_M_ARM64)
274#pragma warning(disable: 4723)
280 return Traits::neutral();
287#if defined _MSC_VER && defined(_M_ARM64)
288#pragma warning( pop )
295 static constexpr double minVal() {
return DBL_MIN; };
296 static constexpr double maxVal() {
return DBL_MAX; };
297 static constexpr double neutral() {
return 0.0; };
306 static constexpr sal_Int32
neutral() {
return 0; };
bool overlaps(const BasicRange &rRange) const
bool operator==(const BasicRange &rRange) const
bool overlapsMore(const BasicRange &rRange) const
bool isInside(T nValue) const
bool operator!=(const BasicRange &rRange) const
bool isInside(const BasicRange &rRange) const
void expand(const BasicRange &rRange)
void intersect(const BasicRange &rRange)
bool equal(const BasicRange &rRange) const
Traits::DifferenceType getRange() const
static constexpr double maxVal()
static constexpr double neutral()
static constexpr double minVal()
static constexpr sal_Int32 minVal()
static constexpr sal_Int32 maxVal()
static constexpr sal_Int32 neutral()