Lines Matching refs:ULP
119 // Based on the existing googletest implementation, which uses a fixed 4 ulp bound.
127 template <size_t ULP, typename T>
133 if (!isnan(expected) && !isnan(actual) && UlpDistance(expected, actual) <= ULP) {
149 // and asserting that the result is within ULP ulps of the expected value.
151 template <size_t ULP, typename RT, typename T, size_t N>
154 FpUlpEq<ULP, RT> predicate;
162 // and asserting that the result is within ULP ulps of the expected value.
164 template <size_t ULP, typename T, size_t N>
173 // and asserting that the result is within ULP ulps of the expected value.
175 template <size_t ULP, typename T, size_t N>
184 // and asserting that the result is within ULP ulps of the expected value.
186 template <size_t ULP, typename T, size_t N>
195 // and asserting that the result is within ULP ulps of the expected value.
197 template <size_t ULP, typename RT, typename T1, typename T2, size_t N>
200 FpUlpEq<ULP, RT> predicate;
208 // and asserting that the results are within ULP ulps of the expected values.
210 template <size_t ULP, typename RT1, typename RT2, typename T1, size_t N>
213 FpUlpEq<ULP, RT1> predicate1;
214 FpUlpEq<ULP, RT2> predicate2;
225 // and asserting that the results are within ULP ulps of the expected values.
227 template <size_t ULP, typename RT1, typename RT2, typename T1, size_t N>
230 FpUlpEq<ULP, RT1> predicate1;
231 FpUlpEq<ULP, RT2> predicate2;
242 // and asserting that the results are within ULP ulps of the expected values.
244 template <size_t ULP, typename RT1, typename T1, size_t N>
247 FpUlpEq<ULP, RT1> predicate1;
258 // and asserting that the results are within ULP ulps of the expected values.
260 template <size_t ULP, typename RT1, typename T1, typename T2, size_t N>
263 FpUlpEq<ULP, RT1> predicate1;
274 // and asserting that the result is within ULP ulps of the expected value.
276 template <size_t ULP, typename RT, typename T1, typename T2, typename T3, size_t N>
279 FpUlpEq<ULP, RT> predicate;