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

Function npyv_max_u64

numpy/core/src/common/simd/sse/math.h:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94#define npyv_max_u8 _mm_max_epu8
95#define npyv_max_s16 _mm_max_epi16
96NPY_FINLINE npyv_u64 npyv_max_u64(npyv_u64 a, npyv_u64 b)
97{
98 return npyv_select_u64(npyv_cmpgt_u64(a, b), a, b);
99}
100NPY_FINLINE npyv_s64 npyv_max_s64(npyv_s64 a, npyv_s64 b)
101{
102 return npyv_select_s64(npyv_cmpgt_s64(a, b), a, b);

Callers

nothing calls this directly

Calls 1

npyv_cmpgt_u64Function · 0.70

Tested by

no test coverage detected