wangMixHash64

Thomas Wang 64-bit mix integer hash function.

@safe nothrow pure @nogc @nogc pure nothrow @safe @nogc
hash_t
wangMixHash64
(
ulong x
)

Examples

assert(wangMixHash64(0) == 8633297058295171728UL);
assert(wangMixHash64(1) == 6614235796240398542UL);

See Also

Meta