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

Function isunsigned

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

Source from the content-addressed store, hash-verified

173
174
175def isunsigned(var):
176 if not isscalar(var):
177 return 0
178 if var.get('typespec') != 'integer':
179 return 0
180 return get_kind(var) == '-4'
181
182
183def isunsigned_long_long(var):

Callers

nothing calls this directly

Calls 3

get_kindFunction · 0.85
isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected