def PCG.step
import bend-collections-laws-math@1.0.0.0/proofs/math/random/proof_pcg.bend as ProofPcgimport Base
import bend-collections-laws-math@1.0.0.0/spec/math/random.bend as SRM
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
import bend-collections-laws-math@1.0.0.0/src/math/random/pcg.bend as P
import bend-collections-laws-math@1.0.0.0/proofs/math/random/pcg/impl.bend as IM
31def PCG.step(+mh: WU.U64, +ml: WU.U64, +ih: WU.U64, +il: WU.U64, +p: P.PCG) -> SRM.PCG.step(mh, ml, ih, il, p):
32 match p:
33 case P.P{+hi, +lo}:
34 IM.step_pair(mh, ml, ih, il, hi, lo, X.mul128(lo, ml), IM.m128(lo, ml))
Uses (6)
- bend-collections-laws-math@1.0.0.0/src/math/u64:U64
- bend-collections-laws-math@1.0.0.0/src/math/w64:mul128
- bend-collections-laws-math@1.0.0.0/src/math/random/pcg:PCG
- bend-collections-laws-math@1.0.0.0/proofs/math/random/pcg/impl:m128
- bend-collections-laws-math@1.0.0.0/proofs/math/random/pcg/impl:step_pair
- …
Used by (0)
No other definition uses this definition.