)]}'
{
  "commit": "5aca0514941ce7dd0f3cea8d8ffe627dbcd542ca",
  "tree": "b009934c2995cfcb533c54ff4a61ede5f9145618",
  "parents": [
    "7f1d62dcefc868361e15db12608a8c8261be0e10"
  ],
  "author": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Mon May 19 12:30:25 2014 -0400"
  },
  "committer": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Mon May 19 12:30:25 2014 -0400"
  },
  "message": "math/rand: restore Go 1.2 value stream for Float32, Float64\n\nCL 22730043 fixed a bug in these functions: they could\nreturn 1.0 despite documentation saying otherwise.\nBut the fix changed the values returned in the non-buggy case too,\nwhich might invalidate programs depending on a particular\nstream when using rand.Seed(0) or when passing their own\nSource to rand.New.\n\nThe example test says:\n        // These tests serve as an example but also make sure we don\u0027t change\n        // the output of the random number generator when given a fixed seed.\nso I think there is some justification for thinking we have\npromised not to change the values. In any case, there\u0027s no point in\nchanging the values gratuitously: we can easily fix this bug without\nchanging the values, and so we should.\n\nThat CL just changed the test values too, which defeats the\nstated purpose, but it was just a comment.\nAdd an explicit regression test, which might be\na clearer signal next time that we don\u0027t want to change\nthe values.\n\nFixes #6721. (again)\nFixes #8013.\n\nLGTM\u003dr\nR\u003diant, r\nCC\u003dgolang-codereviews\nhttps://golang.org/cl/95460049\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b93a371a043d79936062fd658777ac6d8745443b",
      "old_mode": 33188,
      "old_path": "src/pkg/math/rand/example_test.go",
      "new_id": "f429914531a98ed59fb13ffa01bcf81f28db42f3",
      "new_mode": 33188,
      "new_path": "src/pkg/math/rand/example_test.go"
    },
    {
      "type": "modify",
      "old_id": "0c91f88184eee2fdddb8657eec7bd5e11b596e97",
      "old_mode": 33188,
      "old_path": "src/pkg/math/rand/rand.go",
      "new_id": "3ffb5c4e5c64d2062e448e028146028aed940693",
      "new_mode": 33188,
      "new_path": "src/pkg/math/rand/rand.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b012af893c7f1184088e9001e1591f5097e9fcf",
      "new_mode": 33188,
      "new_path": "src/pkg/math/rand/regress_test.go"
    }
  ]
}
