MCPcopy Create free account
hub / github.com/apache/arrow / ContainFloat

Function ContainFloat

cpp/src/arrow/table.cc:540–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538namespace {
539
540bool ContainFloat(const std::shared_ptr<DataType>& type) {
541 if (is_floating(type->id())) {
542 return true;
543 }
544
545 for (const auto& field : type->fields()) {
546 if (ContainFloat(field->type())) {
547 return true;
548 }
549 }
550 return false;
551}
552
553bool CanIgnoreNan(const Schema& schema, const EqualOptions& opts) {
554 if (opts.nans_equal()) {

Callers 1

CanIgnoreNanFunction · 0.85

Calls 4

is_floatingFunction · 0.70
idMethod · 0.45
fieldsMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected