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

Function check_prec

numpy/core/setup.py:260–270  ·  view source on GitHub ↗
(prec)

Source from the content-addressed store, hash-verified

258 pub.append(('NPY_HAVE_%s' % type2def(t), 1))
259
260 def check_prec(prec):
261 flist = [f + prec for f in C99_COMPLEX_FUNCS]
262 decl = dict([(f, True) for f in flist])
263 if not config.check_funcs_once(flist, call=decl, decl=decl,
264 libraries=mathlibs):
265 for f in flist:
266 if config.check_func(f, call=True, decl=True,
267 libraries=mathlibs):
268 priv.append((fname2def(f), 1))
269 else:
270 priv.extend([(fname2def(f), 1) for f in flist])
271
272 check_prec('')
273 check_prec('f')

Callers 1

check_complexFunction · 0.85

Calls 3

fname2defFunction · 0.85
check_funcs_onceMethod · 0.80
check_funcMethod · 0.80

Tested by

no test coverage detected