lemireHash32

Undocumented in source. Be warned that the author may not have intended to support it.
  1. uint lemireHash32(uint x)
    @safe nothrow pure @nogc @nogc pure nothrow @safe @nogc
    uint
    lemireHash32
    (
    in uint x
    )
  2. uint lemireHash32(float x)

Examples

assert(lemireHash32(0) == 0UL);
assert(lemireHash32(1) == 3825694051);
assert(lemireHash32(2) == 3356420807);
assert(lemireHash32(0f) == 0UL);
assert(lemireHash32(1f) == 2910889945);
assert(lemireHash32(2f) == 1073805257);

Meta