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

Function npy_half_isinf

numpy/core/src/npymath/halffloat.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50int npy_half_isinf(npy_half h)
51{
52 return ((h&0x7fffu) == 0x7c00u);
53}
54
55int npy_half_isfinite(npy_half h)
56{

Callers 1

npy_half_nextafterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected