Rand.top31: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/random/rand.bend as Rand Lines 83-85 of bend-collections@1.0.0.0/src/math/random/rand.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/random/rand.bend&start_line=83&end_line=85 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 def top31(-S: Data, p: W.U64 & S) -> U32 & S: (x, s) = p (U32.shr(X.hi(x)), s) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shr 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=hi