MCPcopy Create free account
hub / github.com/numpy/numpy / operator<

Method operator<

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

Source from the content-addressed store, hash-verified

142 return !(IsNaN() || r.IsNaN()) && Equal(r);
143 }
144 constexpr bool operator<(Half r) const
145 {
146 return !(IsNaN() || r.IsNaN()) && Less(r);
147 }
148 constexpr bool operator<=(Half r) const
149 {
150 return !(IsNaN() || r.IsNaN()) && LessEqual(r);

Callers

nothing calls this directly

Calls 1

IsNaNMethod · 0.80

Tested by

no test coverage detected