Pcg.dxsm_with: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/random/pcg.bend as Pcg Lines 72-74 of bend-collections@1.0.0.0/src/math/random/pcg.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/random/pcg.bend&start_line=72&end_line=74 import Base import bend-collections@1.0.0.0/src/math/u64.bend as W import bend-collections@1.0.0.0/src/math/w64.bend as X # the DXSM output of a state hi:lo with the multiplier cm def dxsm_with(+cm: W.U64, +hi: W.U64, +lo: W.U64) -> W.U64: dxsm2(X.mul(xor64(hi, X.shr(hi, 32n)), cm), lo) Uses (5): https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/pcg.bend&name=dxsm2 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/pcg.bend&name=xor64 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/u64.bend&name=U64 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&name=mul https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&name=shr