Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ isdouble
Function
isdouble
numpy/f2py/auxfuncs.py:191–196 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
189
190
191
def
isdouble(var):
192
if
not isscalar(var):
193
return
0
194
if
not var.get(
'typespec'
) ==
'real'
:
195
return
0
196
return
get_kind(var) ==
'8'
197
198
199
def
islong_double(var):
Callers
1
get_parameters
Function · 0.85
Calls
3
get_kind
Function · 0.85
isscalar
Function · 0.70
get
Method · 0.45
Tested by
no test coverage detected