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

Function shr_128

numpy/core/src/common/npy_extint128.h:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201static inline npy_extint128_t
202shr_128(npy_extint128_t v)
203{
204 npy_extint128_t z;
205 z = v;
206 z.lo >>= 1;
207 z.lo |= (z.hi & 0x1) << 63;
208 z.hi >>= 1;
209 return z;
210}
211
212static inline int
213gt_128(npy_extint128_t a, npy_extint128_t b)

Callers 1

divmod_128_64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected