Versions in this module Expand all Collapse all v0 v0.1.4 Jun 1, 2024 v0.1.3 May 5, 2024 Changes in this version + func BoolP(counter *sltype.Uint2, key uint32, p float32) bool + func CounterAdd(counter *sltype.Uint2, inc uint32) + func CounterIncr(counter *sltype.Uint2) + func Float(counter *sltype.Uint2, key uint32) float32 + func Float11(counter *sltype.Uint2, key uint32) float32 + func Float112(counter *sltype.Uint2, key uint32) sltype.Float2 + func Float2(counter *sltype.Uint2, key uint32) sltype.Float2 + func MulHiLo64(a, b uint32) (lo, hi uint32) + func NormFloat(counter *sltype.Uint2, key uint32) float32 + func NormFloat2(counter *sltype.Uint2, key uint32) sltype.Float2 + func Philox2x32(counter sltype.Uint2, key uint32) sltype.Uint2 + func Philox2x32bumpkey(key *uint32) + func Philox2x32round(counter *sltype.Uint2, key uint32) + func SincosPi(x float32) (s, c float32) + func Uint2(counter *sltype.Uint2, key uint32) sltype.Uint2 + func Uint2ToFloat(val sltype.Uint2) sltype.Float2 + func Uint2ToFloat11(val sltype.Uint2) sltype.Float2 + func Uint32(counter *sltype.Uint2, key uint32) uint32 + func Uint32ToFloat(val uint32) float32 + func Uint32ToFloat11(val uint32) float32 + func Uintn(counter *sltype.Uint2, key uint32, n uint32) uint32 + type Counter struct + Hi uint32 + HiSeed uint32 + Lo uint32 + func (ct *Counter) Add(inc uint32) sltype.Uint2 + func (ct *Counter) Reset() + func (ct *Counter) Seed(seed uint32) + func (ct *Counter) Set(c sltype.Uint2) + func (ct *Counter) Uint2() sltype.Uint2