summaryrefslogtreecommitdiffstats
path: root/libgo/go/rand/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/rand/rand.go')
-rw-r--r--libgo/go/rand/rand.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libgo/go/rand/rand.go b/libgo/go/rand/rand.go
index 8c1219a7a1c..459aed1db4f 100644
--- a/libgo/go/rand/rand.go
+++ b/libgo/go/rand/rand.go
@@ -88,9 +88,6 @@ func (r *Rand) Float64() float64 { return float64(r.Int63()) / (1 << 63) }
// Float32 returns, as a float32, a pseudo-random number in [0.0,1.0).
func (r *Rand) Float32() float32 { return float32(r.Float64()) }
-// Float returns, as a float, a pseudo-random number in [0.0,1.0).
-func (r *Rand) Float() float { return float(r.Float64()) }
-
// Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
func (r *Rand) Perm(n int) []int {
m := make([]int, n)
@@ -140,9 +137,6 @@ func Float64() float64 { return globalRand.Float64() }
// Float32 returns, as a float32, a pseudo-random number in [0.0,1.0).
func Float32() float32 { return globalRand.Float32() }
-// Float returns, as a float, a pseudo-random number in [0.0,1.0).
-func Float() float { return globalRand.Float() }
-
// Perm returns, as a slice of n ints, a pseudo-random permutation of the integers [0,n).
func Perm(n int) []int { return globalRand.Perm(n) }
OpenPOWER on IntegriCloud