Lines Matching refs:FloatingEqMatcher
6468 class FloatingEqMatcher {
6476 FloatingEqMatcher(FloatType rhs, bool nan_eq_nan) :
6483 FloatingEqMatcher(FloatType rhs, bool nan_eq_nan, FloatType max_abs_error) :
6598 GTEST_DISALLOW_ASSIGN_(FloatingEqMatcher);
8154 inline internal::FloatingEqMatcher<double> DoubleEq(double rhs) {
8155 return internal::FloatingEqMatcher<double>(rhs, false);
8160 inline internal::FloatingEqMatcher<double> NanSensitiveDoubleEq(double rhs) {
8161 return internal::FloatingEqMatcher<double>(rhs, true);
8167 inline internal::FloatingEqMatcher<double> DoubleNear(
8169 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
8175 inline internal::FloatingEqMatcher<double> NanSensitiveDoubleNear(
8177 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
8182 inline internal::FloatingEqMatcher<float> FloatEq(float rhs) {
8183 return internal::FloatingEqMatcher<float>(rhs, false);
8188 inline internal::FloatingEqMatcher<float> NanSensitiveFloatEq(float rhs) {
8189 return internal::FloatingEqMatcher<float>(rhs, true);
8195 inline internal::FloatingEqMatcher<float> FloatNear(
8197 return internal::FloatingEqMatcher<float>(rhs, false, max_abs_error);
8203 inline internal::FloatingEqMatcher<float> NanSensitiveFloatNear(
8205 return internal::FloatingEqMatcher<float>(rhs, true, max_abs_error);