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

Function npyv_maxn_f64

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

Source from the content-addressed store, hash-verified

62 return npyv_select_f32(nn, max, a);
63}
64NPY_FINLINE npyv_f64 npyv_maxn_f64(npyv_f64 a, npyv_f64 b)
65{
66 __m128i nn = npyv_notnan_f64(a);
67 __m128d max = _mm_max_pd(a, b);
68 return npyv_select_f64(nn, max, a);
69}
70// Maximum, integer operations
71#ifdef NPY_HAVE_SSE41
72 #define npyv_max_s8 _mm_max_epi8

Callers

nothing calls this directly

Calls 2

npyv_select_f64Function · 0.85
npyv_notnan_f64Function · 0.70

Tested by

no test coverage detected