24 #ifndef _D_NULLVALUES_
25 #define _D_NULLVALUES_
45 explicit r_Nullvalues(std::vector<std::pair<r_Double, r_Double>> &&nullvaluesArg);
58 if (value >= (p.first - DBL_EPSILON) && value <= (p.second + DBL_EPSILON))
73 if ((value >= (p.first - DBL_EPSILON) && value <= (p.second + DBL_EPSILON)) ||
74 (std::isnan(value) && std::isnan(p.first)))
Definition: nullvalues.hh:37
double getFirstNullValue() const
if the null set contains any non-interval null values, then the first such null value is returned,...
std::vector< std::pair< r_Double, r_Double > > nullvalues
Definition: nullvalues.hh:91
static const double_t unlimitedLow
the * in *:hi, it is the smallest double number
Definition: nullvalues.hh:40
const std::vector< std::pair< r_Double, r_Double > > & getNullvalues() const
Definition: nullvalues.hh:47
bool isNullFloat(const T value) const
check whether a value is in an interval (hence a null value) TODO: this needs to be improved,...
Definition: nullvalues.hh:69
r_Nullvalues(std::vector< std::pair< r_Double, r_Double >> &&nullvaluesArg)
static const double_t unlimitedHigh
the * in lo:*, it is the maximum double number
Definition: nullvalues.hh:42
std::string toString() const
bool isNullNonFloat(const T value) const
check whether a value is in an interval (hence a null value)
Definition: nullvalues.hh:54