Lines Matching defs:max_abs_error
1900 // Constructor that supports a user-specified max_abs_error that will be used
1904 FloatType max_abs_error)
1907 max_abs_error_(max_abs_error) {
1908 GTEST_CHECK_(max_abs_error >= 0)
1909 << ", where max_abs_error is" << max_abs_error;
1916 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
1919 max_abs_error_(max_abs_error) {}
2004 // max_abs_error will be used for value comparison when >= 0.
2034 // max_abs_error will be used for value comparison when >= 0.
3829 double rhs, double max_abs_error) {
3830 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
3837 double rhs, double max_abs_error) {
3838 return internal::FloatingEqMatcher<double>(rhs, true, max_abs_error);
3857 float rhs, float max_abs_error) {
3858 return internal::FloatingEqMatcher<float>(rhs, false, max_abs_error);
3865 float rhs, float max_abs_error) {
3866 return internal::FloatingEqMatcher<float>(rhs, true, max_abs_error);