MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / rotl

Function rotl

Source/astcenc_mathlib.cpp:26–29  ·  view source on GitHub ↗

* @brief 64-bit rotate left. * * @param val The value to rotate. * @param count The rotation, in bits. */

Source from the content-addressed store, hash-verified

24 * @param count The rotation, in bits.
25 */
26static inline uint64_t rotl(uint64_t val, int count)
27{
28 return (val << count) | (val >> (64 - count));
29}
30
31/* See header for documentation. */
32void astc::rand_init(uint64_t state[2])

Callers 1

randMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected