Lines Matching refs:max_abs_error_
6474 // negative max_abs_error_ term to indicate that ULP-based approximation will
6477 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
6484 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {
6494 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {}
6512 // which should only match if max_abs_error_ is also infinity.
6513 return value == rhs_ || fabs(value - rhs_) <= max_abs_error_;
6534 *os << " (absolute error <= " << max_abs_error_ << ")";
6553 *os << " (absolute error > " << max_abs_error_ << ")";
6562 return max_abs_error_ >= 0;
6568 const FloatType max_abs_error_;
6580 return MakeMatcher(new Impl<FloatType>(rhs_, nan_eq_nan_, max_abs_error_));
6585 new Impl<const FloatType&>(rhs_, nan_eq_nan_, max_abs_error_));
6589 return MakeMatcher(new Impl<FloatType&>(rhs_, nan_eq_nan_, max_abs_error_));
6596 const FloatType max_abs_error_;