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

Function rational_nonzero

numpy/core/src/umath/_rational_tests.c:333–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333static inline int
334rational_nonzero(rational x) {
335 return x.n!=0;
336}
337
338static int
339scan_rational(const char** s, rational* x) {

Callers 3

pyrational_nonzeroFunction · 0.85
npyrational_nonzeroFunction · 0.85
pyrational_richcompareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected