Pcg.dxsm1: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/spec/math/random/pcg.bend as Pcg Lines 43-45 of bend-collections-laws-math@1.0.0.0/spec/math/random/pcg.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/spec/math/random/pcg.bend&start_line=43&end_line=45 import Base import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C # the first half: hi ^= hi >> 32; hi *= cm def dxsm1(+cm: Nat, +hi: Nat) -> Nat: C.low(64n, Nat.mul(xor_bits(64n, hi, C.high(32n, hi)), cm)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/lib/common.bend&name=high https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/lib/common.bend&name=low https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/math/random/pcg.bend&name=xor_bits