| 560 | } |
| 561 | |
| 562 | bool CanIgnoreNan(const Schema& schema, const EqualOptions& opts) { |
| 563 | if (opts.nans_equal()) { |
| 564 | return true; |
| 565 | } |
| 566 | |
| 567 | for (auto& field : schema.fields()) { |
| 568 | if (ContainFloat(field->type())) { |
| 569 | return false; |
| 570 | } |
| 571 | } |
| 572 | return true; |
| 573 | } |
| 574 | |
| 575 | } // namespace |
| 576 |
no test coverage detected