github.com/xaionaro-go/rand@v0.0.0-20191005105903-aba1befc54a5/mathrand/float64.go (about) 1 package mathrand 2 3 /* 4 // Float64 is a fast analog of `math/rand.Float64` 5 func Float64() float64 { 6 return float64(Uint64n(math.MaxUint64)) / float64(math.MaxUint64) 7 } 8 9 10 */