DoxigAlpha

Function parameters

Parameters

#
input:u32

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#
int
Integer-to-integer hashing for bit widths <= 256.

Source

Implementation

#
fn uint32(input: u32) u32 {
    var x: u32 = input;
    x = (x ^ (x >> 17)) *% 0xed5ad4bb;
    x = (x ^ (x >> 11)) *% 0xac4c1b51;
    x = (x ^ (x >> 15)) *% 0x31848bab;
    x = x ^ (x >> 14);
    return x;
}