package stdlib
import (
"math/rand/v2"
"reflect"
)
func init() {
Symbols ["math/rand/v2/rand" ] = map [string ]reflect .Value {
"ExpFloat64" : reflect .ValueOf (rand .ExpFloat64 ),
"Float32" : reflect .ValueOf (rand .Float32 ),
"Float64" : reflect .ValueOf (rand .Float64 ),
"Int" : reflect .ValueOf (rand .Int ),
"Int32" : reflect .ValueOf (rand .Int32 ),
"Int32N" : reflect .ValueOf (rand .Int32N ),
"Int64" : reflect .ValueOf (rand .Int64 ),
"Int64N" : reflect .ValueOf (rand .Int64N ),
"IntN" : reflect .ValueOf (rand .IntN ),
"New" : reflect .ValueOf (rand .New ),
"NewChaCha8" : reflect .ValueOf (rand .NewChaCha8 ),
"NewPCG" : reflect .ValueOf (rand .NewPCG ),
"NewZipf" : reflect .ValueOf (rand .NewZipf ),
"NormFloat64" : reflect .ValueOf (rand .NormFloat64 ),
"Perm" : reflect .ValueOf (rand .Perm ),
"Shuffle" : reflect .ValueOf (rand .Shuffle ),
"Uint32" : reflect .ValueOf (rand .Uint32 ),
"Uint32N" : reflect .ValueOf (rand .Uint32N ),
"Uint64" : reflect .ValueOf (rand .Uint64 ),
"Uint64N" : reflect .ValueOf (rand .Uint64N ),
"UintN" : reflect .ValueOf (rand .UintN ),
"ChaCha8" : reflect .ValueOf ((*rand .ChaCha8 )(nil )),
"PCG" : reflect .ValueOf ((*rand .PCG )(nil )),
"Rand" : reflect .ValueOf ((*rand .Rand )(nil )),
"Source" : reflect .ValueOf ((*rand .Source )(nil )),
"Zipf" : reflect .ValueOf ((*rand .Zipf )(nil )),
"_Source" : reflect .ValueOf ((*_math_rand_v2_Source )(nil )),
}
}
type _math_rand_v2_Source struct {
IValue interface {}
WUint64 func () uint64
}
func (W _math_rand_v2_Source ) Uint64 () uint64 {
return W .WUint64 ()
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .