1. 07 Oct, 2014 10 commits
  2. 06 Oct, 2014 16 commits
  3. 05 Oct, 2014 1 commit
  4. 04 Oct, 2014 4 commits
  5. 03 Oct, 2014 7 commits
  6. 02 Oct, 2014 2 commits
    • Rob Pike's avatar
      fmt: make the %#v verb a special flag · 7c8e057a
      Rob Pike authored
      The %#v verb is special: it says all values below need to print as %#v.
      However, for some situations the # flag has other meanings and this
      causes some issues, particularly in how Formatters work. Since %#v
      dominates all formatting, translate it into actual state of the formatter
      and decouple it from the # flag itself within the calculations (although
      it must be restored when methods are doing the work.)
      The result is cleaner code and correct handling of # for Formatters.
      TODO: Apply the same thinking to the + flag in a followup CL.
      
      Also, the wasString return value in handleMethods is always false,
      so eliminate it.
      
      Update #8835
      
      LGTM=iant
      R=golang-codereviews, iant
      CC=golang-codereviews
      https://golang.org/cl/146650043
      7c8e057a
    • Robert Griesemer's avatar
      math/big: math.Exp should return result >= 0 for |m| > 0 · 28ddfb09
      Robert Griesemer authored
      The documentation states that Exp(x, y, m)
      computes x**y mod |m| for m != nil && m > 0.
      In math.big, Mod is the Euclidean modulus,
      which is always >= 0.
      
      Fixes #8822.
      
      LGTM=agl, r, rsc
      R=agl, r, rsc
      CC=golang-codereviews
      https://golang.org/cl/145650043
      28ddfb09