]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Mon, 24 May 2010 21:32:08 +0000 (14:32 -0700)]
A+C: add Peter Williams (individual CLA)
R=adg
CC=golang-dev
https://golang.org/cl/
1221043
Russ Cox [Mon, 24 May 2010 21:31:43 +0000 (14:31 -0700)]
spec: index of non-addressable array is not addressable
Motivated by:
func f() []int
func g() [10]int
f()[1] = 1 // ok
g()[1] = 1 // ERROR
R=gri
CC=golang-dev
https://golang.org/cl/
1278041
Russ Cox [Mon, 24 May 2010 21:31:10 +0000 (14:31 -0700)]
runtime: free old hashmap pieces during resizing
R=r
CC=golang-dev
https://golang.org/cl/
1254044
Russ Cox [Mon, 24 May 2010 21:30:51 +0000 (14:30 -0700)]
libmach: skip __nl_symbol_ptr section on OS X
R=r
CC=golang-dev
https://golang.org/cl/
1275042
Russ Cox [Mon, 24 May 2010 21:22:54 +0000 (14:22 -0700)]
gc: bug278
Fixes #804.
R=ken2
CC=golang-dev
https://golang.org/cl/
1224045
Russ Cox [Mon, 24 May 2010 21:18:15 +0000 (14:18 -0700)]
gc: fix unsafe.Sizeof on ideal constants
R=ken2
CC=golang-dev
https://golang.org/cl/
1280041
Robert Griesemer [Mon, 24 May 2010 20:57:34 +0000 (13:57 -0700)]
bug277: tests for conversion syntax
- accepted by gccgo, gofmt
- some not accepted by 6g
- spec revision forthcoming
R=rsc
CC=golang-dev
https://golang.org/cl/
1279041
Alex Brainman [Mon, 24 May 2010 18:48:14 +0000 (11:48 -0700)]
fix windows build
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/
1209048
Nigel Tao [Mon, 24 May 2010 18:44:09 +0000 (11:44 -0700)]
Make draw/x11 treat $DISPLAY the same way x-go-bindings does.
This ought to make draw/x11 work on a Mac.
R=rsc
CC=golang-dev
https://golang.org/cl/
1265042
Adam Langley [Mon, 24 May 2010 18:32:55 +0000 (14:32 -0400)]
big: prevent errors in Exp in the face of aliasing
R=gri
CC=golang-dev, golang-dev
https://golang.org/cl/
1244044
Andrew Gerrand [Mon, 24 May 2010 16:58:59 +0000 (09:58 -0700)]
syscall: update freebsd_amd64
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1268041
Evan Shaw [Sun, 23 May 2010 21:33:44 +0000 (14:33 -0700)]
kate: convert isn't a built in function
I have no idea how that got in there.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/
1240046
Evan Shaw [Sun, 23 May 2010 18:21:47 +0000 (11:21 -0700)]
spec: Fix a code tag
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
1266042
Nigel Tao [Sun, 23 May 2010 18:12:00 +0000 (11:12 -0700)]
When making images, allocate one big buffer instead of many small ones.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1267041
Robert Griesemer [Sat, 22 May 2010 03:25:08 +0000 (20:25 -0700)]
go/printer, gofmt: fix printing of labels,
apply gofmt to src, misc
Fixes #752.
R=rsc
CC=golang-dev
https://golang.org/cl/
1240044
Robert Griesemer [Sat, 22 May 2010 03:20:17 +0000 (20:20 -0700)]
test/hilbert.go: convert to test case and benchmark for big.Rat
R=rsc
CC=golang-dev
https://golang.org/cl/
1231044
Russ Cox [Sat, 22 May 2010 01:29:18 +0000 (18:29 -0700)]
roll back
1193046 - fix build
R=dho
CC=golang-dev
https://golang.org/cl/
1257043
Devon H. O'Dell [Sat, 22 May 2010 00:31:18 +0000 (17:31 -0700)]
cgo: better error for no C symbols
R=rsc, iant
CC=golang-dev, graeme.perrow
https://golang.org/cl/
1193046
Christopher Wedgwood [Sat, 22 May 2010 00:30:40 +0000 (17:30 -0700)]
net: implement raw sockets
R=rsc
CC=golang-dev
https://golang.org/cl/684041
Evan Shaw [Fri, 21 May 2010 23:14:55 +0000 (16:14 -0700)]
big: Add Rat type
Implementations are pretty rough and simple at this point, but it's a start.
R=gri
CC=golang-dev
https://golang.org/cl/
1250043
Robert Griesemer [Fri, 21 May 2010 21:53:54 +0000 (14:53 -0700)]
issue 789: keep test case
R=rsc
CC=golang-dev
https://golang.org/cl/
1242045
Russ Cox [Fri, 21 May 2010 21:40:21 +0000 (14:40 -0700)]
runtime: correct tracebacks for nascent goroutines, even closures
Fixes #780.
R=r
CC=golang-dev
https://golang.org/cl/
1221042
Russ Cox [Fri, 21 May 2010 21:39:10 +0000 (14:39 -0700)]
syscall: add Utimes, Futimes stubs for NaCl - fix build
TBR=nigeltao
CC=golang-dev
https://golang.org/cl/
1262042
Russ Cox [Fri, 21 May 2010 21:33:17 +0000 (14:33 -0700)]
syscall: regenerate zsyscall_linux_arm.go - fix build
R=kaib
CC=golang-dev
https://golang.org/cl/
1209047
Robert Griesemer [Fri, 21 May 2010 21:28:34 +0000 (14:28 -0700)]
big: fix Int.SetString comment, simplify implementation,
always return z for nat.scan
R=rsc
CC=golang-dev
https://golang.org/cl/
1236043
Robert Griesemer [Fri, 21 May 2010 21:14:22 +0000 (14:14 -0700)]
bignum: deprecate by moving into exp directory
R=rsc
CC=golang-dev
https://golang.org/cl/
1211047
Robert Griesemer [Fri, 21 May 2010 06:10:51 +0000 (23:10 -0700)]
big: implemented Int.Binomial (to be used in test/hilbert.go with the
forthcoming implementation of big.Rat)
R=rsc
CC=golang-dev
https://golang.org/cl/
1229047
Russ Cox [Fri, 21 May 2010 05:57:08 +0000 (22:57 -0700)]
gc: handle use of builtin function outside function call
tweaks & tests of last bug fix too.
R=ken2
CC=golang-dev
https://golang.org/cl/
1207044
Russ Cox [Fri, 21 May 2010 05:19:50 +0000 (22:19 -0700)]
gc: line number bug fix
R=ken2
CC=golang-dev
https://golang.org/cl/
1243044
Ken Thompson [Fri, 21 May 2010 04:01:59 +0000 (21:01 -0700)]
clean up bug 275
R=rsc
CC=golang-dev
https://golang.org/cl/
1224044
Ken Thompson [Fri, 21 May 2010 03:56:28 +0000 (20:56 -0700)]
fix bug 275
R=rsc
CC=golang-dev
https://golang.org/cl/
1198046
Russ Cox [Fri, 21 May 2010 00:34:22 +0000 (17:34 -0700)]
gc: disallow · in Go programs
Fixes #793.
R=ken2
CC=golang-dev
https://golang.org/cl/
1249043
Ken Thompson [Fri, 21 May 2010 00:31:28 +0000 (17:31 -0700)]
fix issue 798
cannot allocate an audomatic temp
while real registers are allocated.
there is a chance that the automatic
will be allocated to one of the
allocated registers. the fix is to
not registerize such variables.
R=rsc
CC=golang-dev
https://golang.org/cl/
1202042
Michael Hoisie [Fri, 21 May 2010 00:13:50 +0000 (17:13 -0700)]
netFD: fix race between Close and Read/Write
Fixes #783.
R=rsc, cw
CC=golang-dev
https://golang.org/cl/
1207043
Roger Peppe [Thu, 20 May 2010 21:33:50 +0000 (14:33 -0700)]
Fix Rectangle.Canon()
R=rsc, r, gri
CC=golang-dev
https://golang.org/cl/
1239043
Nigel Tao [Thu, 20 May 2010 20:57:18 +0000 (13:57 -0700)]
Fast-ish path for drawing onto an image.RGBA destination.
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to
5.6ms (and 0 mallocs). It's still relatively slow since it assumes
nothing about the src or mask images, but it does remove the malloc.
There are existing faster, more specialized paths for copies, fills
and image glyph masks.
Also added a "compare to a slow but obviously correct implementation"
check to draw_test.go.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1223044
Christopher Wedgwood [Thu, 20 May 2010 16:43:13 +0000 (09:43 -0700)]
syscall: linux, implement BindToDevice
R=rsc
CC=adg, golang-dev, r
https://golang.org/cl/
1253043
Christopher Wedgwood [Thu, 20 May 2010 16:39:35 +0000 (09:39 -0700)]
syscall: bsd, stub BindToDevice
R=rsc
CC=adg, golang-dev, r
https://golang.org/cl/
1257041
Russ Cox [Thu, 20 May 2010 04:33:31 +0000 (21:33 -0700)]
runtime: avoid allocation for fixed strings
R=r
CC=golang-dev
https://golang.org/cl/
1083041
Andrew Gerrand [Thu, 20 May 2010 00:53:41 +0000 (17:53 -0700)]
dashboard: reintroduce Benchmark model
R=rsc
CC=golang-dev
https://golang.org/cl/
1217046
Brad Fitzpatrick [Thu, 20 May 2010 00:48:53 +0000 (17:48 -0700)]
os: add Chtimes function
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1103041
Russ Cox [Thu, 20 May 2010 00:47:57 +0000 (17:47 -0700)]
syscall: add Utimes on Darwin/FreeBSD, add Futimes everywhere
Needed for CL
1103041 and beyond.
R=adg, bradfitzpatrick
CC=bradfitz, golang-dev
https://golang.org/cl/
1172042
Robert Griesemer [Wed, 19 May 2010 20:10:00 +0000 (13:10 -0700)]
bug275: cannot apply real() to a complex array element
R=r, ken2
CC=golang-dev
https://golang.org/cl/
1260041
Russ Cox [Wed, 19 May 2010 19:57:47 +0000 (12:57 -0700)]
runtime: allow large map values
Fixes #772.
R=ken2
CC=golang-dev
https://golang.org/cl/
1206043
Robert Griesemer [Wed, 19 May 2010 16:36:50 +0000 (09:36 -0700)]
big: potential bug fix, cleanups
- implemented setWord, use it where setUint64 is wrong
- divLarge: use fast mulWW, divWW; implemented mulWW, divWW
- better assembly code for addMulVVW
R=rsc
CC=golang-dev
https://golang.org/cl/
1258042
Russ Cox [Wed, 19 May 2010 06:27:35 +0000 (23:27 -0700)]
fix build - arm tests
TBR=kaib
CC=golang-dev
https://golang.org/cl/
1256042
Russ Cox [Wed, 19 May 2010 06:25:07 +0000 (23:25 -0700)]
fix build - no netchan tests under NaCl
TBR=r
CC=golang-dev
https://golang.org/cl/
1230042
Michael Hoisie [Wed, 19 May 2010 06:01:05 +0000 (23:01 -0700)]
bytes: add Trim, TrimLeft, TrimRight, and generic functions
R=rsc, r
CC=golang-dev
https://golang.org/cl/946045
Evan Shaw [Wed, 19 May 2010 05:41:12 +0000 (22:41 -0700)]
gc: Better error when computing remainder of non-int
Previously the compiler would just emit "internal compiler error" when
trying to compute the remainder of floats or complex types.
R=rsc
CC=golang-dev
https://golang.org/cl/
1243041
Charles L. Dorian [Wed, 19 May 2010 05:33:50 +0000 (22:33 -0700)]
math: amd64 versions of fdim, fmax, fmin
Uses the SSE2 max, min instructions. Also shorter sqrt_amd64.s
R=rsc
CC=golang-dev
https://golang.org/cl/
1216042
Charles L. Dorian [Wed, 19 May 2010 05:16:01 +0000 (22:16 -0700)]
math: signed zero Sqrt special case
IEEE 754 says: sqrt(-0) = -0
R=rsc
CC=golang-dev
https://golang.org/cl/
1098041
Robert Griesemer [Tue, 18 May 2010 23:31:49 +0000 (16:31 -0700)]
big: bug fix for division
Fixes #784.
R=rsc
CC=golang-dev
https://golang.org/cl/
1196043
Kyle Consalus [Tue, 18 May 2010 23:29:24 +0000 (16:29 -0700)]
Trivial optimization.
Cached string indexing in inner loop of Btoui64.
Before:
strconv_test.BenchmarkAtoi
5000000 309 ns/op
strconv_test.BenchmarkAtoiNeg
5000000 325 ns/op
strconv_test.BenchmarkAtoi64
5000000 465 ns/op
strconv_test.BenchmarkAtoi64Neg
5000000 469 ns/op
After:
strconv_test.BenchmarkAtoi
10000000 182 ns/op
strconv_test.BenchmarkAtoiNeg
10000000 193 ns/op
strconv_test.BenchmarkAtoi64
10000000 251 ns/op
strconv_test.BenchmarkAtoi64Neg
10000000 258 ns/op
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
1227042
Roger Peppe [Mon, 17 May 2010 19:23:48 +0000 (12:23 -0700)]
Add Error member to yyLexer type (yyError
has no access to yylex)
R=ken2, ken3
CC=golang-dev
https://golang.org/cl/813047
Robert Griesemer [Sat, 15 May 2010 17:23:41 +0000 (10:23 -0700)]
big: implemented format support for fmt library, MulRange
- support for binary prefix 0b (to match fmt.Format)
- renamed nat.new -> nat.setUint64 for consistency
- more tests
R=r
CC=golang-dev
https://golang.org/cl/
1233041
Christopher Wedgwood [Sat, 15 May 2010 17:08:29 +0000 (10:08 -0700)]
build; allow MAKEFLAGS to be set outside the build scripts
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1231041
Charles L. Dorian [Sat, 15 May 2010 17:06:54 +0000 (10:06 -0700)]
cmath: add package description
Also update range of Phase and Polar due to signed zero.
[Phase(cmplx(-1, +0)) = pi and Phase(cmplx(-1, -0)) = -pi]
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1235041
Robert Griesemer [Fri, 14 May 2010 22:45:53 +0000 (15:45 -0700)]
gofmt: exclude test w/ illegal syntax from test cases
R=adg
CC=golang-dev
https://golang.org/cl/
1228041
Robert Griesemer [Fri, 14 May 2010 22:38:25 +0000 (15:38 -0700)]
go/printer (gofmt): don't lose mandatory semicolons
Fixes #779.
R=r
CC=golang-dev
https://golang.org/cl/
1218042
Robert Griesemer [Fri, 14 May 2010 20:11:48 +0000 (13:11 -0700)]
go spec: added imaginary literal to semicolon rules (was missing)
- also added links to the respective sections
- reformatted section for better (source html) readability
- added missing closing </li>'s in many places
R=r
CC=golang-dev
https://golang.org/cl/
1220041
Roger Peppe [Thu, 13 May 2010 19:49:48 +0000 (12:49 -0700)]
Prevent Printf crashing when giving an extra nil argument.
R=rsc, r
CC=golang-dev
https://golang.org/cl/
1195041
Andrew Gerrand [Thu, 13 May 2010 18:53:44 +0000 (11:53 -0700)]
rename 'gordon' to 'gopher'
R=r
CC=golang-dev
https://golang.org/cl/
1207041
Robert Griesemer [Thu, 13 May 2010 18:52:04 +0000 (11:52 -0700)]
bug274: test case for issue 777
R=r, iant
CC=golang-dev
https://golang.org/cl/
1195042
Robert Griesemer [Tue, 11 May 2010 23:50:20 +0000 (16:50 -0700)]
http: prevent crash if remote server is not responding with "HTTP/"
Fixes #775.
R=rsc
CC=golang-dev
https://golang.org/cl/
1180042
Russ Cox [Tue, 11 May 2010 21:57:08 +0000 (14:57 -0700)]
netchan: be less chatty during gotest
R=r
CC=golang-dev
https://golang.org/cl/
1186041
Russ Cox [Tue, 11 May 2010 21:38:55 +0000 (14:38 -0700)]
json: fix array -> non-array decoding
Fixes #773.
R=adg
CC=golang-dev
https://golang.org/cl/
1120042
Nigel Tao [Tue, 11 May 2010 03:35:16 +0000 (13:35 +1000)]
drawGlyphOver optimization.
Timings (as for change
1122043 ) go from 49ms to 48ms ish. It's
mostly lost in the noise, but it probably doesn't hurt.
R=r
CC=golang-dev
https://golang.org/cl/
1179041
Nigel Tao [Mon, 10 May 2010 00:32:08 +0000 (10:32 +1000)]
exp/draw fast path for glyph images.
To draw.Draw a 32x32 image.Alpha 10000 times,
Before: 633ms with 10000 mallocs
After: 49ms with 0 mallocs
These times are just blitting an image.Alpha, and do not include
rasterizing a glyph's vector contours to an image.Alpha.
The "generic" test case in draw_test.go tests this fast path.
R=rsc
CC=golang-dev
https://golang.org/cl/
1122043
Rob Pike [Sun, 9 May 2010 23:40:38 +0000 (16:40 -0700)]
template: regularize the handling of interfaces, pointers, and
methods when looking up names.
Fixes #764.
R=rsc
CC=golang-dev
https://golang.org/cl/
1170041
Michael Hoisie [Sun, 9 May 2010 00:34:05 +0000 (17:34 -0700)]
json: accept escaped slash in string scanner
R=rsc
CC=golang-dev
https://golang.org/cl/
1173041
Robert Griesemer [Sat, 8 May 2010 20:52:36 +0000 (13:52 -0700)]
big: cleanups and performance tuning
- removed last argument (n) from all core arithmetic routines;
instead, use the length of the result
- simplified nat.make implementation and chose a better capacity
for new values, removed a TODO in the process
Changing the constant e from 1 (old) to 4 (new) improved
pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo):
user 0m3.882s (old)
user 0m3.549s (new)
R=rsc
CC=golang-dev
https://golang.org/cl/
1133043
Robert Griesemer [Sat, 8 May 2010 01:26:31 +0000 (18:26 -0700)]
big: more cleanup
- pass []Word instead of *Word to core arithmetic functions
- remove dead code
R=rsc
CC=golang-dev
https://golang.org/cl/
1154042
Robert Griesemer [Sat, 8 May 2010 01:22:40 +0000 (18:22 -0700)]
go spec: simplify section on channel types
R=rsc, iant, r
CC=golang-dev
https://golang.org/cl/
1171041
Rob Pike [Fri, 7 May 2010 21:32:34 +0000 (14:32 -0700)]
compress: renamings.
NewDeflater -> NewWriter
NewInflater -> NewReader
Deflater -> Compressor
Inflater -> Decompressor
R=rsc
CC=golang-dev
https://golang.org/cl/
1166041
Rob Pike [Fri, 7 May 2010 20:30:13 +0000 (13:30 -0700)]
gob: bug fix: errors encoding the payload were not
returned to caller.
R=rsc
CC=golang-dev
https://golang.org/cl/
1164041
Rob Pike [Fri, 7 May 2010 18:44:41 +0000 (11:44 -0700)]
gob: add an internal commentary example showing how the
values are encoded for transmission.
R=rsc
CC=golang-dev
https://golang.org/cl/
1146041
Ian Lance Taylor [Fri, 7 May 2010 05:07:03 +0000 (22:07 -0700)]
Save the scheduling state even predawn.
This permits cgo callbacks to work when run in init code.
Otherwise cgocallback switches to the wrong stack address.
R=rsc
CC=golang-dev
https://golang.org/cl/
1123043
Robert Griesemer [Fri, 7 May 2010 02:16:26 +0000 (19:16 -0700)]
fix build (typo in arith_386.s)
R=rsc
CC=golang-dev
https://golang.org/cl/
1139042
Robert Griesemer [Fri, 7 May 2010 01:20:01 +0000 (18:20 -0700)]
big: implemented overlap-tolerant shifts in assembly
- no need to make copies in cases of aliases
- removed deprecated internal shift functions
- minor unrelated simplifications
This change improves pidigits -s -n10000 by almost 20%:
user 0m6.156s (old)
user 0m4.999s (new)
(pidigits -s -n20000 goes from ~25s to ~19s)
R=rsc
CC=golang-dev
https://golang.org/cl/
1149041
Andrew Gerrand [Fri, 7 May 2010 00:16:16 +0000 (10:16 +1000)]
codelab/wiki: fix typo in demo URL
R=r
CC=golang-dev
https://golang.org/cl/
1148041
Rob Pike [Thu, 6 May 2010 18:50:47 +0000 (11:50 -0700)]
runtime.GOMAXPROCS: hack it to have it return the old value.
R=rsc
CC=golang-dev
https://golang.org/cl/
1140041
Rob Pike [Thu, 6 May 2010 17:45:18 +0000 (10:45 -0700)]
gob: add test for indirect maps, slices, arrays.
fix a bug in the handling of indirect maps.
R=rsc
CC=golang-dev
https://golang.org/cl/
1132042
Russ Cox [Thu, 6 May 2010 16:34:12 +0000 (09:34 -0700)]
gc: distinguish array, slice literal in error messages
R=ken2
CC=golang-dev
https://golang.org/cl/
1138041
Nigel Tao [Thu, 6 May 2010 08:41:42 +0000 (18:41 +1000)]
Make exp/draw/x11 respect $XAUTHORITY.
R=rsc, cw, nigeltao_golang
CC=golang-dev
https://golang.org/cl/
1134041
Rob Pike [Wed, 5 May 2010 23:46:39 +0000 (16:46 -0700)]
gob: add support for maps.
Because maps are mostly a hidden type, they must be
implemented using reflection values and will not be as
efficient as arrays and slices.
R=rsc
CC=golang-dev
https://golang.org/cl/
1127041
Rob Pike [Wed, 5 May 2010 22:17:26 +0000 (15:17 -0700)]
pkg/Makefile: add netchan to standard package list
R=golang-dev
CC=golang-dev
https://golang.org/cl/
1121041
Russ Cox [Wed, 5 May 2010 19:49:59 +0000 (12:49 -0700)]
CONTRIBUTORS: add Brad Fitzpatrick (Google Inc)
R=r, bradfitzpatrick
CC=golang-dev
https://golang.org/cl/
1118041
Kyle Consalus [Wed, 5 May 2010 16:57:53 +0000 (09:57 -0700)]
Conversion from loop to copy().
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
1072041
Conrad Meyer [Wed, 5 May 2010 16:55:11 +0000 (09:55 -0700)]
Fix a typo in net/unixsock
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/
1113041
Andrew Gerrand [Wed, 5 May 2010 02:13:50 +0000 (12:13 +1000)]
release.2010-05-04 tags
R=rsc
CC=golang-dev
https://golang.org/cl/
1112041
Andrew Gerrand [Wed, 5 May 2010 02:12:04 +0000 (12:12 +1000)]
release.2010-05-04
R=r, rsc
CC=golang-dev
https://golang.org/cl/
1094043
Robert Griesemer [Wed, 5 May 2010 00:31:40 +0000 (17:31 -0700)]
go spec: clarification of make arguments,
specification of runtime exceptions for
make and division by zero
R=r, rsc, ken2, iant
CC=golang-dev
https://golang.org/cl/
1081041
Ken Thompson [Tue, 4 May 2010 05:51:30 +0000 (22:51 -0700)]
allow data statements for simple
external variable assignements.
R=rsc
CC=golang-dev
https://golang.org/cl/
1094041
Robert Griesemer [Tue, 4 May 2010 01:48:05 +0000 (18:48 -0700)]
big: completed set of Int division routines & cleanups
- renamed Len -> BitLen, simplified implementation
- renamed old Div, Mod, DivMod -> Que, Rem, QuoRem
- implemented Div, Mod, DivMod (Euclidian definition, more
useful in a mathematical context)
- fixed a bug in Exp (-0 was possible)
- added extra tests to check normalized results everywhere
- uniformly set Int.neg flag at the end of computations
- minor cosmetic cleanups
- ran all tests
R=rsc
CC=golang-dev
https://golang.org/cl/
1091041
Russ Cox [Tue, 4 May 2010 00:51:48 +0000 (17:51 -0700)]
gc: bug264
Fixes #692.
R=ken2
CC=golang-dev
https://golang.org/cl/
1092041
Russ Cox [Tue, 4 May 2010 00:47:59 +0000 (17:47 -0700)]
test/bench: import new fasta C reference, update Go, optimizations
OLD fasta -n
25000000
gcc -O2 fasta.c 7.59u 0.06s 7.74r
gc fasta 9.54u 0.15s 9.84r
gc_B fasta 9.48u 0.10s 9.62r
NEW fasta -n
25000000
gcc -O2 fasta.c 2.59u 0.02s 2.66r
gc fasta 3.00u 0.03s 3.09r
gc_B fasta 2.72u 0.03s 2.81r
R=r
CC=golang-dev
https://golang.org/cl/
1054041
Russ Cox [Tue, 4 May 2010 00:47:40 +0000 (17:47 -0700)]
runtime, strconv: tiny cleanups
R=r
CC=golang-dev
https://golang.org/cl/
1081042
Russ Cox [Tue, 4 May 2010 00:21:49 +0000 (17:21 -0700)]
test: test of static initialization (fails)
R=ken2
CC=golang-dev
https://golang.org/cl/
1090041
Russ Cox [Mon, 3 May 2010 22:29:59 +0000 (15:29 -0700)]
gc: bug267
R=ken2
CC=golang-dev
https://golang.org/cl/
1067042
Russ Cox [Mon, 3 May 2010 22:02:32 +0000 (15:02 -0700)]
gc: error for nested functions, one semicolon problem
R=ken2
CC=golang-dev
https://golang.org/cl/
1046042