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

Function isunsigned_short

numpy/f2py/auxfuncs.py:167–172  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

165
166
167def isunsigned_short(var):
168 if not isscalar(var):
169 return 0
170 if var.get('typespec') != 'integer':
171 return 0
172 return get_kind(var) == '-2'
173
174
175def isunsigned(var):

Callers

nothing calls this directly

Calls 3

get_kindFunction · 0.85
isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected