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

Function shl_128

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

Source from the content-addressed store, hash-verified

187
188
189static inline npy_extint128_t
190shl_128(npy_extint128_t v)
191{
192 npy_extint128_t z;
193 z = v;
194 z.hi <<= 1;
195 z.hi |= (z.lo & (((npy_uint64)1) << 63)) >> 63;
196 z.lo <<= 1;
197 return z;
198}
199
200
201static inline npy_extint128_t

Callers 1

divmod_128_64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected