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