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

Function npyv_max_u64

numpy/core/src/common/simd/neon/math.h:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114#define npyv_max_u32 vmaxq_u32
115#define npyv_max_s32 vmaxq_s32
116NPY_FINLINE npyv_u64 npyv_max_u64(npyv_u64 a, npyv_u64 b)
117{
118 return vbslq_u64(npyv_cmpgt_u64(a, b), a, b);
119}
120NPY_FINLINE npyv_s64 npyv_max_s64(npyv_s64 a, npyv_s64 b)
121{
122 return vbslq_s64(npyv_cmpgt_s64(a, b), a, b);

Callers

nothing calls this directly

Calls 1

npyv_cmpgt_u64Function · 0.50

Tested by

no test coverage detected