MCPcopy Create free account
hub / github.com/numpy/numpy / Equal

Method Equal

numpy/core/src/common/half.hpp:206–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 : sign_a || ((a | b) == 0x8000u);
205 }
206 constexpr bool Equal(Half r) const
207 {
208 // fast16 cast is not worth it, since unpack op should involved.
209 uint16_t a = bits_, b = r.bits_;
210 return a == b || ((a | b) == 0x8000u);
211 }
212 /// @} Comparison
213
214 /// @name Properties

Callers 1

npy_half_eq_nonanFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected