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

Method IsNaN

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

@name Properties @{

Source from the content-addressed store, hash-verified

214 /// @name Properties
215 // @{
216 constexpr bool IsNaN() const
217 {
218 return ((bits_ & 0x7c00u) == 0x7c00u) &&
219 ((bits_ & 0x03ffu) != 0);
220 }
221 /// @} Properties
222
223 private:

Callers 4

npy_half_isnanFunction · 0.80
operator==Method · 0.80
operator<Method · 0.80
operator<=Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected