Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ operator<=
Method
operator<=
numpy/core/src/common/half.hpp:148–151 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
146
return !(IsNaN() || r.IsNaN()) && Less(r);
147
}
148
constexpr bool operator<=(Half r) const
149
{
150
return !(IsNaN() || r.IsNaN()) && LessEqual(r);
151
}
152
constexpr bool operator>(Half r) const
153
{
154
return r < *this;
Callers
nothing calls this directly
Calls
1
IsNaN
Method · 0.80
Tested by
no test coverage detected