• Home
  • Raw
  • Download

Lines Matching refs:Big

11 template <class Big, class Small>
14 Big big_val = 1; in test()
15 big_val += std::numeric_limits<Big>::epsilon(); in test()
68 BOOST_CHECK_EQUAL(small_val + big_val, Big(small_val) + big_val); in test()
69 BOOST_CHECK_EQUAL(small_val - big_val, Big(small_val) - big_val); in test()
70 BOOST_CHECK_EQUAL(small_val * big_val, Big(small_val) * big_val); in test()
71 BOOST_CHECK_EQUAL(small_val / big_val, Big(small_val) / big_val); in test()
72 BOOST_CHECK_EQUAL(big_val + small_val, big_val + Big(small_val)); in test()
73 BOOST_CHECK_EQUAL(big_val - small_val, big_val - Big(small_val)); in test()
74 BOOST_CHECK_EQUAL(big_val * small_val, big_val * Big(small_val)); in test()
75 BOOST_CHECK_EQUAL(big_val / small_val, big_val / Big(small_val)); in test()
77 BOOST_CHECK_EQUAL(small_val + (big_val * 1), Big(small_val) + (big_val * 1)); in test()
78 BOOST_CHECK_EQUAL(small_val - (big_val * 1), Big(small_val) - (big_val * 1)); in test()
79 BOOST_CHECK_EQUAL(small_val * (big_val * 1), Big(small_val) * (big_val * 1)); in test()
80 BOOST_CHECK_EQUAL(small_val / (big_val * 1), Big(small_val) / (big_val * 1)); in test()
81 BOOST_CHECK_EQUAL((big_val * 1) + small_val, (big_val * 1) + Big(small_val)); in test()
82 BOOST_CHECK_EQUAL((big_val * 1) - small_val, (big_val * 1) - Big(small_val)); in test()
83 BOOST_CHECK_EQUAL((big_val * 1) * small_val, (big_val * 1) * Big(small_val)); in test()
84 BOOST_CHECK_EQUAL((big_val * 1) / small_val, (big_val * 1) / Big(small_val)); in test()
85 BOOST_CHECK_EQUAL((small_val * 1) + big_val, Big((small_val * 1)) + big_val); in test()
86 BOOST_CHECK_EQUAL((small_val * 1) - big_val, Big((small_val * 1)) - big_val); in test()
87 BOOST_CHECK_EQUAL((small_val * 1) * big_val, Big((small_val * 1)) * big_val); in test()
88 BOOST_CHECK_EQUAL((small_val * 1) / big_val, Big((small_val * 1)) / big_val); in test()
89 BOOST_CHECK_EQUAL(big_val + (small_val * 1), big_val + Big((small_val * 1))); in test()
90 BOOST_CHECK_EQUAL(big_val - (small_val * 1), big_val - Big((small_val * 1))); in test()
91 BOOST_CHECK_EQUAL(big_val * (small_val * 1), big_val * Big((small_val * 1))); in test()
92 BOOST_CHECK_EQUAL(big_val / (small_val * 1), big_val / Big((small_val * 1))); in test()
93 BOOST_CHECK_EQUAL((small_val * 1) + (big_val * 1), Big((small_val * 1)) + (big_val * 1)); in test()
94 BOOST_CHECK_EQUAL((small_val * 1) - (big_val * 1), Big((small_val * 1)) - (big_val * 1)); in test()
95 BOOST_CHECK_EQUAL((small_val * 1) * (big_val * 1), Big((small_val * 1)) * (big_val * 1)); in test()
96 BOOST_CHECK_EQUAL((small_val * 1) / (big_val * 1), Big((small_val * 1)) / (big_val * 1)); in test()
97 BOOST_CHECK_EQUAL((big_val * 1) + (small_val * 1), (big_val * 1) + Big((small_val * 1))); in test()
98 BOOST_CHECK_EQUAL((big_val * 1) - (small_val * 1), (big_val * 1) - Big((small_val * 1))); in test()
99 BOOST_CHECK_EQUAL((big_val * 1) * (small_val * 1), (big_val * 1) * Big((small_val * 1))); in test()
100 BOOST_CHECK_EQUAL((big_val * 1) / (small_val * 1), (big_val * 1) / Big((small_val * 1))); in test()
103 big_val -= std::numeric_limits<Big>::epsilon(); in test()
155 BOOST_CHECK_EQUAL(small_val + big_val, Big(small_val) + big_val); in test()
156 BOOST_CHECK_EQUAL(small_val - big_val, Big(small_val) - big_val); in test()
157 BOOST_CHECK_EQUAL(small_val * big_val, Big(small_val) * big_val); in test()
158 BOOST_CHECK_EQUAL(small_val / big_val, Big(small_val) / big_val); in test()
159 BOOST_CHECK_EQUAL(big_val + small_val, big_val + Big(small_val)); in test()
160 BOOST_CHECK_EQUAL(big_val - small_val, big_val - Big(small_val)); in test()
161 BOOST_CHECK_EQUAL(big_val * small_val, big_val * Big(small_val)); in test()
162 BOOST_CHECK_EQUAL(big_val / small_val, big_val / Big(small_val)); in test()
164 BOOST_CHECK_EQUAL(small_val + (big_val * 1), Big(small_val) + (big_val * 1)); in test()
165 BOOST_CHECK_EQUAL(small_val - (big_val * 1), Big(small_val) - (big_val * 1)); in test()
166 BOOST_CHECK_EQUAL(small_val * (big_val * 1), Big(small_val) * (big_val * 1)); in test()
167 BOOST_CHECK_EQUAL(small_val / (big_val * 1), Big(small_val) / (big_val * 1)); in test()
168 BOOST_CHECK_EQUAL((big_val * 1) + small_val, (big_val * 1) + Big(small_val)); in test()
169 BOOST_CHECK_EQUAL((big_val * 1) - small_val, (big_val * 1) - Big(small_val)); in test()
170 BOOST_CHECK_EQUAL((big_val * 1) * small_val, (big_val * 1) * Big(small_val)); in test()
171 BOOST_CHECK_EQUAL((big_val * 1) / small_val, (big_val * 1) / Big(small_val)); in test()
172 BOOST_CHECK_EQUAL((small_val * 1) + big_val, Big((small_val * 1)) + big_val); in test()
173 BOOST_CHECK_EQUAL((small_val * 1) - big_val, Big((small_val * 1)) - big_val); in test()
174 BOOST_CHECK_EQUAL((small_val * 1) * big_val, Big((small_val * 1)) * big_val); in test()
175 BOOST_CHECK_EQUAL((small_val * 1) / big_val, Big((small_val * 1)) / big_val); in test()
176 BOOST_CHECK_EQUAL(big_val + (small_val * 1), big_val + Big((small_val * 1))); in test()
177 BOOST_CHECK_EQUAL(big_val - (small_val * 1), big_val - Big((small_val * 1))); in test()
178 BOOST_CHECK_EQUAL(big_val * (small_val * 1), big_val * Big((small_val * 1))); in test()
179 BOOST_CHECK_EQUAL(big_val / (small_val * 1), big_val / Big((small_val * 1))); in test()
180 BOOST_CHECK_EQUAL((small_val * 1) + (big_val * 1), Big((small_val * 1)) + (big_val * 1)); in test()
181 BOOST_CHECK_EQUAL((small_val * 1) - (big_val * 1), Big((small_val * 1)) - (big_val * 1)); in test()
182 BOOST_CHECK_EQUAL((small_val * 1) * (big_val * 1), Big((small_val * 1)) * (big_val * 1)); in test()
183 BOOST_CHECK_EQUAL((small_val * 1) / (big_val * 1), Big((small_val * 1)) / (big_val * 1)); in test()
184 BOOST_CHECK_EQUAL((big_val * 1) + (small_val * 1), (big_val * 1) + Big((small_val * 1))); in test()
185 BOOST_CHECK_EQUAL((big_val * 1) - (small_val * 1), (big_val * 1) - Big((small_val * 1))); in test()
186 BOOST_CHECK_EQUAL((big_val * 1) * (small_val * 1), (big_val * 1) * Big((small_val * 1))); in test()
187 BOOST_CHECK_EQUAL((big_val * 1) / (small_val * 1), (big_val * 1) / Big((small_val * 1))); in test()