Home | History | Annotate | Download | only in common

Lines Matching refs:Interval

38 Interval chooseInterval(YesNoMaybe choice, const Interval& no, const Interval& yes)
48 return Interval();
155 Interval FloatFormat::clampValue (double d) const
168 return Interval(d);
173 Interval FloatFormat::convert (const Interval& x) const
175 Interval ret;
176 Interval tmp = x;
187 tmp = Interval::unbounded();
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const
218 Interval ret = x.nan();
221 ret |= Interval(roundOut(x.lo(), false, roundUnderOverflow),
255 std::string FloatFormat::intervalToHex (const Interval& interval) const
257 if (interval.empty())
258 return interval.hasNaN() ? "{ NaN }" : "{}";
260 else if (interval.lo() == interval.hi())
261 return (std::string(interval.hasNaN() ? "{ NaN, " : "{ ") +
262 floatToHex(interval.lo()) + " }");
263 else if (interval == Interval::unbounded(true))
266 return (std::string(interval.hasNaN() ? "{ NaN } | " : "") +
267 "[" + floatToHex(interval.lo()) + ", " + floatToHex(interval.hi()) + "]");