Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
32-bit Integer Hash
uint32_t inthash32( uint32_t k ) {
k *= 1193897147;
k ^= k >> 16;
k ^= k >> 14;
k += 1193897147;
return k;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.