Skip to content

Commit a64d81a

Browse files
committed
editorial s/mulx/mul (mulx properly refers to multiplication and xoring)
1 parent 628c8c4 commit a64d81a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/ROOT/pages/rationale.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ As it happens, `boost::hash` for integral and other basic types does not possess
9494
the statistical properties required by open addressing; to cope with this,
9595
we implement a post-mixing stage:
9696

97-
{nbsp}{nbsp}{nbsp}{nbsp} _a_ <- _h_ *mulx* _C_, +
97+
{nbsp}{nbsp}{nbsp}{nbsp} _a_ <- _h_ *mul* _C_, +
9898
{nbsp}{nbsp}{nbsp}{nbsp} _h_ <- *high*(_a_) *xor* *low*(_a_),
9999

100-
where *mulx* is an _extended multiplication_ (128 bits in 64-bit architectures, 64 bits in 32-bit environments),
100+
where *mul* is an _extended multiplication_ (128 bits in 64-bit architectures, 64 bits in 32-bit environments),
101101
and *high* and *low* are the upper and lower halves of an extended word, respectively.
102102
In 64-bit architectures, _C_ is the integer part of 2^64^&#8725;https://en.wikipedia.org/wiki/Golden_ratio[_&phi;_],
103103
whereas in 32 bits _C_ = 0xE817FB2Du has been obtained from https://arxiv.org/abs/2001.05304[Steele and Vigna (2021)^].

0 commit comments

Comments
 (0)