1. 29 Jun, 2012 2 commits
  2. 28 Jun, 2012 4 commits
  3. 27 Jun, 2012 7 commits
  4. 26 Jun, 2012 5 commits
  5. 25 Jun, 2012 20 commits
  6. 24 Jun, 2012 2 commits
    • Russ Cox's avatar
      runtime: detect hash map collision problems · bca01cd0
      Russ Cox authored
      This can only happen if the hash function we're using is getting
      far more than it's fair share of collisions, but that has happened
      to us repeatedly as we've expanded the allowed use cases for
      hash tables (issue 1544, issue 2609, issue 2630, issue 2883, issue 3695).
      Maybe this will help the next time we try something new.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/6306083
      bca01cd0
    • Charles L. Dorian's avatar
      math: improve Atan, Asin and Acos accuracy · 35c3afdb
      Charles L. Dorian authored
      pkg/math/all_test.go tests Atan (and therefore Asin and Acos) to a
      relative accuracy of 4e-16, but the test vector misses values where
      the old algorithm was in error by more than that. For example:
      
      x            newError   oldError
      0.414215746  1.41e-16  -4.24e-16
      0.414216076  1.41e-16  -4.24e-16
      0.414217632  1.41e-16  -4.24e-16
      0.414218770  1.41e-16  -4.24e-16
      0.414225466  0         -5.65e-16
      0.414226244  1.41e-16  -4.24e-16
      0.414228756  0         -5.65e-16
      0.414235089  0         -5.65e-16
      0.414237070  0         -5.65e-16
      
      R=rsc, golang-dev
      CC=golang-dev
      https://golang.org/cl/6302093
      35c3afdb