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

Function libdivide_mullhi_u32

numpy/core/include/numpy/libdivide/libdivide.h:218–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216//////// Internal Utility Functions
217
218static inline uint32_t libdivide_mullhi_u32(uint32_t x, uint32_t y) {
219 uint64_t xl = x, yl = y;
220 uint64_t rl = xl * yl;
221 return (uint32_t)(rl >> 32);
222}
223
224static inline int32_t libdivide_mullhi_s32(int32_t x, int32_t y) {
225 int64_t xl = x, yl = y;

Callers 4

libdivide_mullhi_u64Function · 0.85
libdivide_mullhi_s64Function · 0.85
libdivide_u32_doFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected