]> Cypherpunks repositories - gostls13.git/commit
big: don't crash when printing nil ints
authorAdam Langley <agl@golang.org>
Fri, 8 Apr 2011 19:43:19 +0000 (15:43 -0400)
committerAdam Langley <agl@golang.org>
Fri, 8 Apr 2011 19:43:19 +0000 (15:43 -0400)
commit8fc67033914902065b6150fc6f0808b00dbe05b5
treec6a178039b1210456e61fd7e81208bb9eb37d6fa
parent23f6479be645761c5ba7ba92cf062bbc6470065d
big: don't crash when printing nil ints

"%#v" of a structure with *big.Int's tends to crash a lot otherwise.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4382044
src/pkg/big/int.go