Lines Matching refs:max_abs_error
1371 FloatType max_abs_error)
1374 max_abs_error_(max_abs_error) {
1375 GTEST_CHECK_(max_abs_error >= 0)
1376 << ", where max_abs_error is" << max_abs_error;
1383 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1386 max_abs_error_(max_abs_error) {}
1519 explicit FloatingEq2Matcher(FloatType max_abs_error) {
1520 Init(max_abs_error, false);
1523 FloatingEq2Matcher(FloatType max_abs_error, bool nan_eq_nan) {
1524 Init(max_abs_error, nan_eq_nan);
1546 Impl(FloatType max_abs_error, bool nan_eq_nan) :
1547 max_abs_error_(max_abs_error),
3642 double rhs, double max_abs_error) {
3643 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3650 double rhs, double max_abs_error) {
3651 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
3670 float rhs, float max_abs_error) {
3671 return internal::FloatingEqMatcher<float>(rhs, false, max_abs_error);
3678 float rhs, float max_abs_error) {
3679 return internal::FloatingEqMatcher<float>(rhs, true, max_abs_error);
3962 inline internal::FloatingEq2Matcher<float> FloatNear(float max_abs_error) {
3963 return internal::FloatingEq2Matcher<float>(max_abs_error);
3968 inline internal::FloatingEq2Matcher<double> DoubleNear(double max_abs_error) {
3969 return internal::FloatingEq2Matcher<double>(max_abs_error);
3976 float max_abs_error) {
3977 return internal::FloatingEq2Matcher<float>(max_abs_error, true);
3984 double max_abs_error) {
3985 return internal::FloatingEq2Matcher<double>(max_abs_error, true);