MCPcopy Create free account
hub / github.com/apache/fory / operator==

Method operator==

cpp/fory/util/float16_test.cc:1134–1140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132struct Float16Array {
1133 std::array<float16_t, 3> values;
1134 bool operator==(const Float16Array &o) const {
1135 for (size_t i = 0; i < values.size(); ++i) {
1136 if (values[i].to_bits() != o.values[i].to_bits())
1137 return false;
1138 }
1139 return true;
1140 }
1141 FORY_STRUCT(Float16Array, values);
1142};
1143

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
to_bitsMethod · 0.45

Tested by

no test coverage detected