def low63

bend-collections-laws-crypto@1.0.0.0 · src/math/random/rand.bend:76

import bend-collections-laws-crypto@1.0.0.0/src/math/random/rand.bend as Rand
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as X

76def low63(-S: Data, p: W.U64 & S) -> W.U64 & S:
77  (+x, s) = p
78  (W.U64{X.lo(x), U32.and(X.hi(x), 2147483647)}, s)

Uses (6)

Used by (1)