go/src/pkg/math/big
Rob Pike bc6bb3efb4 math/big: fix nil bug in GobEncode
Update #5305.
This handles the case where the nil pointers are inside a slice.
A top-level nil pointer is harder, maybe fundamentally broken by gob's model.
Thinking required.
However, a slice is the important case since people don't expect to be sending
top-level nils much, but they can arise easily in slices.

R=golang-dev, josharian, adg
CC=golang-dev
https://golang.org/cl/13042044
2013-08-19 11:22:09 +10:00
..
arith.go math/big: document Word type 2012-02-02 14:43:55 -08:00
arith_386.s all: change textflags from numbers to symbols. 2013-08-12 10:25:36 -07:00
arith_amd64.s all: change textflags from numbers to symbols. 2013-08-12 10:25:36 -07:00
arith_arm.s all: change textflags from numbers to symbols. 2013-08-12 10:25:36 -07:00
arith_decl.go math/big: assembly versions of bitLen for x86-64, 386, and ARM. 2012-01-25 15:04:16 -08:00
arith_test.go math/big: added benchmarks to establish baseline for core functions 2012-08-23 15:56:14 -07:00
calibrate_test.go math/big: improved karatsuba calibration code, better mul benchmark 2012-06-04 09:48:27 -07:00
example_test.go godoc: make example code more readable with new comment convention 2012-02-16 11:50:28 +11:00
gcd_test.go math/big: Implemented binary GCD algorithm 2012-06-13 09:31:20 -07:00
hilbert_test.go
int.go math/big: fix nil bug in GobEncode 2013-08-19 11:22:09 +10:00
int_test.go math/big: fix nil bug in GobEncode 2013-08-19 11:22:09 +10:00
nat.go build: remove dead code 2013-03-22 17:28:22 -04:00
nat_test.go math/big: fix Errorf verb 2013-06-18 14:16:40 -07:00
rat.go math/big: fix nil bug in GobEncode 2013-08-19 11:22:09 +10:00
rat_test.go math/big: fix nil bug in GobEncode 2013-08-19 11:22:09 +10:00