Lines Matching defs:ival
241 //! Returns true iff every element of `ival` contains the corresponding element of `value`.
243 bool contains (const typename Traits<T>::IVal& ival, const T& value)
245 return Traits<T>::doContains(ival, value);
248 //! Returns true iff every element of `ival` contains corresponding element of `value` within the warning interval
250 bool containsWarning(const typename Traits<T>::IVal& ival, const T& value)
252 return Traits<T>::doContainsWarning(ival, value);
257 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os)
259 Traits<T>::doPrintIVal(fmt, ival, os);
263 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival)
266 printIVal<T>(fmt, ival, oss);
329 static Interval doConvert (const FloatFormat& fmt, const IVal& ival)
331 return fmt.convert(ival);
344 const Interval& ival,
347 os << fmt.intervalToHex(ival);
369 const Interval& ival,
373 if (ival.contains(false))
375 if (ival.contains(false) && ival.contains(true))
377 if (ival.contains(true))
394 const Interval& ival,
397 os << "[" << int(ival.lo()) << ", " << int(ival.hi()) << "]";
429 static bool doContains (const IVal& ival, const T& value)
432 if (!contains(ival[ndx], value[ndx]))
438 static bool doContainsWarning(const IVal& ival, const T& value)
441 if (!containsWarning(ival[ndx], value[ndx]))
447 static void doPrintIVal (const FloatFormat& fmt, const IVal ival, ostream& os)
456 printIVal<Element>(fmt, ival[ndx], os);