undo CL 6845121 / 79603a5e4cda
undo CL 6845121 / 79603a5e4cda

This changes the output of

rand.Seed(0)
perm := rand.Perm(100)

When giving the same seeds to Go 1.0 and Go 1.1 programs
I would like them to generate the same random numbers.

??? original CL description
math/rand: remove noop iteration in Perm

The first iteration always do `m[0], m[0] = m[0], m[0]`, because
`rand.Intn(1)` is 0.

fun note: IIRC in TAOCP version of this algorithm, `i` goes
backward (n-1->1), meaning that the "already" shuffled part of the
array is never altered betweens iterations, while in the current
implementation the "not-yet" shuffled part of the array is
conserved between iterations.

R=golang-dev
CC=golang-dev
https://codereview.appspot.com/6845121

Committer: Brad Fitzpatrick <bradfitz@golang.org>
???

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/6905049

rdp/rogerpack2005-golang,rdp/rogerpack2005-golang,bryanxu/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,d0f/go-zh,rflanagan/reginaldflanagan-project1,scirelli/scirelli-go,bryanxu/go-zh,bryanxu/go-zh,scirelli/scirelli-go,bryanxu/go-zh,scirelli/scirelli-go,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,d0f/go-zh,d0f/go-zh,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,d0f/go-zh,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,webfd/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,scirelli/scirelli-go,rflanagan/reginaldflanagan-project1,rflanagan/reginaldflanagan-project1,rflanagan/reginaldflanagan-project1,scirelli/scirelli-go,webfd/go-zh,d0f/go-zh,rflanagan/reginaldflanagan-project1,webfd/go-zh,mhennings/marcohennings-go,rdp/rogerpack2005-golang,mhennings/marcohennings-go,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,bryanxu/go-zh,webfd/go-zh,scirelli/scirelli-go,mhennings/marcohennings-go,d0f/go-zh,mhennings/marcohennings-go,webfd/go-zh,scirelli/scirelli-go,d0f/go-zh,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,d0f/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,webfd/go-zh,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,mhennings/marcohennings-go,webfd/go-zh,rflanagan/reginaldflanagan-project1,mhennings/marcohennings-go