Searched refs:max_value (Results 1 - 1 of 1) sorted by relevance

/gem5/src/base/
H A Dsat_counter.test.cc43 const unsigned max_value = (1 << bits) - 1; local
46 for (int i = 0; i < 2*max_value; i++) {
50 ASSERT_EQ(counter, max_value);
88 const unsigned max_value = (1 << bits) - 1; local
92 for (double value = 0.0; value <= max_value; value++, counter++) {
93 const double saturation = value / max_value;
105 const unsigned max_value = (1 << bits) - 1; local
112 ASSERT_EQ(diff, max_value - 1);
146 const unsigned max_value = (1 << bits) - 1; local
165 ASSERT_EQ(counter, max_value);
195 const unsigned max_value = (1 << bits) - 1; local
224 const unsigned max_value = (1 << bits) - 1; local
278 const unsigned max_value = (1 << bits) - 1; local
[all...]

Completed in 4 milliseconds