Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ isunsigned_char
Function
isunsigned_char
numpy/f2py/auxfuncs.py:159–164 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
157
158
159
def
isunsigned_char(var):
160
if
not isscalar(var):
161
return
0
162
if
var.get(
'typespec'
) !=
'integer'
:
163
return
0
164
return
get_kind(var) ==
'-1'
165
166
167
def
isunsigned_short(var):
Callers
nothing calls this directly
Calls
3
get_kind
Function · 0.85
isscalar
Function · 0.70
get
Method · 0.45
Tested by
no test coverage detected