MCPcopy 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
191def 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
199def islong_double(var):

Callers 1

get_parametersFunction · 0.85

Calls 3

get_kindFunction · 0.85
isscalarFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected