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

Function pcg_rotr_64

numpy/random/src/pcg64/pcg64.h:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113static inline uint64_t pcg_rotr_64(uint64_t value, unsigned int rot) {
114#ifdef _WIN32
115 return _rotr64(value, rot);
116#else
117 return (value >> rot) | (value << ((-rot) & 63));
118#endif
119}
120
121#ifdef PCG_EMULATED_128BIT_MATH
122

Callers 1

pcg_output_xsl_rr_128_64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected