| 148 | } |
| 149 | |
| 150 | bool AreAllInRange(const float* sseResult, const float lower_bound, const float upper_bound) |
| 151 | { |
| 152 | return ((sseResult[0] > lower_bound) && (sseResult[0] < upper_bound)) && |
| 153 | ((sseResult[1] > lower_bound) && (sseResult[1] < upper_bound)) && |
| 154 | ((sseResult[2] > lower_bound) && (sseResult[2] < upper_bound)) && |
| 155 | ((sseResult[3] > lower_bound) && (sseResult[3] < upper_bound)); |
| 156 | } |
| 157 | |
| 158 | bool AreAllClose(const float* sseResult, const float reference, const unsigned ulp_tolerance) |
| 159 | { |