Home | History | Annotate | Download | only in tests

Lines Matching refs:ULP

141 // Based on the existing googletest implementation, which uses a fixed 4 ulp bound.
149 template <size_t ULP, typename T>
155 if (!isnan(expected) && !isnan(actual) && UlpDistance(expected, actual) <= ULP) {
165 // and asserting that the result is within ULP ulps of the expected value.
167 template <size_t ULP, typename RT, typename T, size_t N>
170 FpUlpEq<ULP, RT> predicate;
178 // and asserting that the result is within ULP ulps of the expected value.
180 template <size_t ULP, typename T, size_t N>
189 // and asserting that the result is within ULP ulps of the expected value.
191 template <size_t ULP, typename T, size_t N>
200 // and asserting that the result is within ULP ulps of the expected value.
202 template <size_t ULP, typename T, size_t N>
211 // and asserting that the result is within ULP ulps of the expected value.
213 template <size_t ULP, typename RT, typename T1, typename T2, size_t N>
216 FpUlpEq<ULP, RT> predicate;
224 // and asserting that the results are within ULP ulps of the expected values.
226 template <size_t ULP, typename RT1, typename RT2, typename T1, size_t N>
229 FpUlpEq<ULP, RT1> predicate1;
230 FpUlpEq<ULP, RT2> predicate2;
241 // and asserting that the results are within ULP ulps of the expected values.
243 template <size_t ULP, typename RT1, typename RT2, typename T1, size_t N>
246 FpUlpEq<ULP, RT1> predicate1;
247 FpUlpEq<ULP, RT2> predicate2;
258 // and asserting that the results are within ULP ulps of the expected values.
260 template <size_t ULP, typename RT1, typename T1, size_t N>
263 FpUlpEq<ULP, RT1> predicate1;
274 // and asserting that the results are within ULP ulps of the expected values.
276 template <size_t ULP, typename RT1, typename T1, typename T2, size_t N>
279 FpUlpEq<ULP, RT1> predicate1;
290 // and asserting that the result is within ULP ulps of the expected value.
292 template <size_t ULP, typename RT, typename T1, typename T2, typename T3, size_t N>
295 FpUlpEq<ULP, RT> predicate;