Lines Matching refs:VAR
174 #define TCU_SET_INTERVAL_BOUNDS(DST, VAR, SETLOW, SETHIGH) do \ argument
176 ::tcu::ScopedRoundingMode VAR##_ctx_; \
177 ::tcu::Interval& VAR##_dst_ = (DST); \
178 ::tcu::Interval VAR##_lo_; \
179 ::tcu::Interval VAR##_hi_; \
182 ::tcu::Interval& VAR = VAR##_lo_; \
187 ::tcu::Interval& VAR = VAR##_hi_; \
192 VAR##_dst_ = VAR##_lo_ | VAR##_hi_; \
195 #define TCU_SET_INTERVAL(DST, VAR, BODY) \ argument
196 TCU_SET_INTERVAL_BOUNDS(DST, VAR, BODY, BODY)
203 #define TCU_INTERVAL_APPLY_MONOTONE1(DST, PARAM, ARG, VAR, BODY) do \ argument
205 const ::tcu::Interval& VAR##_arg_ = (ARG); \
206 ::tcu::Interval& VAR##_dst_ = (DST); \
207 ::tcu::Interval VAR##_lo_; \
208 ::tcu::Interval VAR##_hi_; \
209 if (VAR##_arg_.empty()) \
210 VAR##_dst_ = Interval(); \
214 const double PARAM = VAR##_arg_.lo(); \
215 ::tcu::Interval& VAR = VAR##_lo_; \
219 const double PARAM = VAR##_arg_.hi(); \
220 ::tcu::Interval& VAR = VAR##_hi_; \
223 VAR##_dst_ = VAR##_lo_ | VAR##_hi_; \
225 if (VAR##_arg_.hasNaN()) \
226 VAR##_dst_ |= TCU_NAN; \
229 #define TCU_INTERVAL_APPLY_MONOTONE2(DST, P0, A0, P1, A1, VAR, BODY) \ argument
232 TCU_INTERVAL_APPLY_MONOTONE1(tmp2_, P1, A1, VAR, BODY))
234 #define TCU_INTERVAL_APPLY_MONOTONE3(DST, P0, A0, P1, A1, P2, A2, VAR, BODY) \ argument
237 TCU_INTERVAL_APPLY_MONOTONE2(tmp3_, P1, A1, P2, A2, VAR, BODY))