Lines Matching refs:Interval
57 class Interval class
61 Interval (void) in Interval() function in tcu::Interval
70 Interval (double val) in Interval() function in tcu::Interval
78 Interval(bool hasNaN_, double lo_, double hi_) in Interval() function in tcu::Interval
81 Interval(bool hasNaN_, double lo_, double hi_, double wlo_, double whi_) in Interval() function in tcu::Interval
84 Interval (const Interval& a, const Interval& b) in Interval() function in tcu::Interval
97 Interval nan (void) const { return m_hasNaN ? TCU_NAN : Interval(); } in nan()
108 Interval operator| (const Interval& other) const in operator |()
110 return Interval(m_hasNaN || other.m_hasNaN, in operator |()
117 Interval& operator|= (const Interval& other) in operator |=()
122 Interval operator& (const Interval& other) const in operator &()
124 return Interval(m_hasNaN && other.m_hasNaN, in operator &()
131 Interval& operator&= (const Interval& other) in operator &=()
136 bool contains (const Interval& other) const in contains()
142 bool containsWarning(const Interval& other) const in containsWarning()
148 bool intersects (const Interval& other) const in intersects()
154 Interval operator- (void) const in operator -()
156 return Interval(hasNaN(), -hi(), -lo(), -warningHi(), -warningLo()); in operator -()
159 static Interval unbounded (bool nan = false) in unbounded()
161 return Interval(nan, -TCU_INFINITY, TCU_INFINITY); in unbounded()
169 bool operator== (const Interval& other) const in operator ==()
184 inline Interval operator+ (const Interval& x) { return x; } in operator +()
185 Interval exp2 (const Interval& x);
186 Interval exp (const Interval& x);
187 int sign (const Interval& x);
188 Interval abs (const Interval& x);
189 Interval inverseSqrt (const Interval& x);
191 Interval operator+ (const Interval& x, const Interval& y);
192 Interval operator- (const Interval& x, const Interval& y);
193 Interval operator* (const Interval& x, const Interval& y);
194 Interval operator/ (const Interval& nom, const Interval& den);
196 inline Interval& operator+= (Interval& x, const Interval& y) { return (x = x + y); } in operator +=()
197 inline Interval& operator-= (Interval& x, const Interval& y) { return (x = x - y); } in operator -=()
198 inline Interval& operator*= (Interval& x, const Interval& y) { return (x = x * y); } in operator *=()
199 inline Interval& operator/= (Interval& x, const Interval& y) { return (x = x / y); } in operator /=()
201 std::ostream& operator<< (std::ostream& os, const Interval& interval);
206 ::tcu::Interval& VAR##_dst_ = (DST); \
207 ::tcu::Interval VAR##_lo_; \
208 ::tcu::Interval VAR##_hi_; \
211 ::tcu::Interval& VAR = VAR##_lo_; \
216 ::tcu::Interval& VAR = VAR##_hi_; \
234 const ::tcu::Interval& VAR##_arg_ = (ARG); \
235 ::tcu::Interval& VAR##_dst_ = (DST); \
236 ::tcu::Interval VAR##_lo_; \
237 ::tcu::Interval VAR##_hi_; \
239 VAR##_dst_ = Interval(); \
244 ::tcu::Interval& VAR = VAR##_lo_; \
249 ::tcu::Interval& VAR = VAR##_hi_; \
271 typedef Interval DoubleIntervalFunc1 (double);
272 typedef Interval DoubleIntervalFunc2 (double, double);
273 typedef Interval DoubleIntervalFunc3 (double, double, double);
275 Interval applyMonotone (DoubleFunc1& func,
276 const Interval& arg0);
277 Interval applyMonotone (DoubleFunc2& func,
278 const Interval& arg0,
279 const Interval& arg1);
280 Interval applyMonotone (DoubleIntervalFunc1& func,
281 const Interval& arg0);
282 Interval applyMonotone (DoubleIntervalFunc2& func,
283 const Interval& arg0,
284 const Interval& arg1);