| 1135 | } |
| 1136 | |
| 1137 | bool ArrayRangeApproxEquals(const Array& left, const Array& right, int64_t left_start_idx, |
| 1138 | int64_t left_end_idx, int64_t right_start_idx, |
| 1139 | const EqualOptions& options) { |
| 1140 | auto resolved_options = options; |
| 1141 | if (!resolved_options.atol()) { |
| 1142 | resolved_options = options.atol(kDefaultAbsoluteTolerance); |
| 1143 | } |
| 1144 | return ArrayRangeEquals(left, right, left_start_idx, left_end_idx, right_start_idx, |
| 1145 | resolved_options); |
| 1146 | } |
| 1147 | |
| 1148 | bool ArrayEquals(const Array& left, const Array& right, const EqualOptions& opts) { |
| 1149 | if (left.length() != right.length()) { |