1. 18 Nov, 2008 14 commits
  2. 17 Nov, 2008 9 commits
    • Russ Cox's avatar
      fix the easy parts of bug120 · a1585b67
      Russ Cox authored
      R=r,ken
      DELTA=66  (52 added, 3 deleted, 11 changed)
      OCL=19386
      CL=19389
      a1585b67
    • Ken Thompson's avatar
      silence compiler warning · b7f01f9f
      Ken Thompson authored
      R=r
      OCL=19382
      CL=19382
      b7f01f9f
    • Russ Cox's avatar
      update golden.out. · 869c3f4c
      Russ Cox authored
      fix bug in run that was missing output.
      make run warn about tests in bugs/ that succeed with no output
      	(should be moved to fixedbugs/).
      
      R=r
      DELTA=21  (18 added, 0 deleted, 3 changed)
      OCL=19381
      CL=19381
      869c3f4c
    • Russ Cox's avatar
      correctly rounded floating-point conversions · 079c00a4
      Russ Cox authored
      in new package strconv.
      
      move atoi etc to strconv too.
      
      update fmt, etc to use strconv.
      
      R=r
      DELTA=2232  (1691 added, 424 deleted, 117 changed)
      OCL=19286
      CL=19380
      079c00a4
    • Russ Cox's avatar
      floating point constant errors in 6g · f333f468
      Russ Cox authored
      R=r
      OCL=19379
      CL=19379
      f333f468
    • Russ Cox's avatar
      First pieces of malloc. · 75647d20
      Russ Cox authored
      R=r
      DELTA=756  (754 added, 0 deleted, 2 changed)
      OCL=19266
      CL=19378
      75647d20
    • Ian Lance Taylor's avatar
      The scope rules have been clarified to indicate that a · b1e8b5f5
      Ian Lance Taylor authored
      variable may only be named after the complete declaration,
      including the initialization statements.
      
      R=gri
      DELTA=61  (16 added, 45 deleted, 0 changed)
      OCL=19343
      CL=19376
      b1e8b5f5
    • Russ Cox's avatar
      adopt suggestions from Bentley and McIlroy (SP&E Nov 1993) · 5aa7dc5d
      Russ Cox authored
      to make qsort more robust:
      
      	* use "ninther" to choose pivot.
      	* use three-way partition to avoid quadratic
       	  behavior on all-one-value arrays.
      
      also add tests suggested in that paper.
      
      the immediate cause of the slowness we observed was
      in fact none of these: the recursive call was sorting
      data[0:m] instead of data[a:m].
      
      also rename package to "sort" to match convention.
      
      R=r,gri
      DELTA=358  (255 added, 21 deleted, 82 changed)
      OCL=19341
      CL=19373
      5aa7dc5d
    • Robert Griesemer's avatar
      Package-export proposal: · a1c85ed8
      Robert Griesemer authored
      - syntax change
      - missing: corresponding language
      
      DELTA=5  (2 added, 0 deleted, 3 changed)
      OCL=19221
      CL=19352
      a1c85ed8
  3. 16 Nov, 2008 1 commit
  4. 15 Nov, 2008 5 commits
  5. 14 Nov, 2008 8 commits
  6. 13 Nov, 2008 3 commits
    • Rob Pike's avatar
      add a %v format to print an arbitrary value in its "println" form. · e2621b80
      Rob Pike authored
      also add code to print (pointers to) arrays, through %v.
      
      R=rsc
      DELTA=108  (70 added, 33 deleted, 5 changed)
      OCL=19184
      CL=19192
      e2621b80
    • Russ Cox's avatar
      more array methods · e4f4ab0b
      Russ Cox authored
      R=r
      OCL=19172
      CL=19172
      e4f4ab0b
    • Russ Cox's avatar
      * 6l: · c5f21c0d
      Russ Cox authored
      	if an object in an archive tries to refer
      	to a file in its original source directory,
      	ignore it.
      
      * 6ar:
      	fix bug if archive is empty.
      
      * gobuild:
      	build archive in current directory.
      
      * math:
      	use new gobuild Makefile.
      
      * test/math.go:
      	rename to mathest.go, add // run line, make it run.
      
      R=r
      DELTA=494  (277 added, 203 deleted, 14 changed)
      OCL=19090
      CL=19171
      c5f21c0d