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

Function npyv_maxn_f64

numpy/core/src/common/simd/vec/math.h:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74#endif
75NPY_FINLINE npyv_f64 npyv_maxn_f64(npyv_f64 a, npyv_f64 b)
76{
77 npyv_b64 nn_a = npyv_notnan_f64(a);
78 npyv_b64 nn_b = npyv_notnan_f64(b);
79 npyv_f64 max = vec_max(a, b);
80 return vec_sel(b, vec_sel(a, max, nn_a), nn_b);
81}
82
83// Maximum, integer operations
84#define npyv_max_u8 vec_max

Callers

nothing calls this directly

Calls 1

npyv_notnan_f64Function · 0.70

Tested by

no test coverage detected