Multiply and xor mix function.

Synopsis

Declared in <folly/external/rapidhash/rapidhash.h>

constexpr
uint64_t
rapidhash_mix(
    uint64_t A,
    uint64_t B) noexcept;

Description

Calculates the 128‐bit product C = A * B.

Return Value

The 64‐bit xor between the high and low 64 bits of C.

Parameters

Name

Description

A

64‐bit number.

B

64‐bit number.

Created with MrDocs