folly::external::rapidhash_detail::rapidhash_mum

64*64 -> 128-bit multiply function.

Synopsis

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

constexpr
void
rapidhash_mum(
    uint64_t* A,
    uint64_t* B) noexcept;

Description

Calculates the 128-bit product C = *A * *B and stores its low and high 64-bit halves back into *A and *B respectively.

Parameters

NameDescription
AAddress of a 64-bit number; receives the low half of the product.
BAddress of a 64-bit number; receives the high half of the product.