]> Cypherpunks repositories - gostls13.git/commit
big: fix nat.scan bug
authorEvan Shaw <chickencha@gmail.com>
Wed, 24 Aug 2011 21:55:03 +0000 (14:55 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 24 Aug 2011 21:55:03 +0000 (14:55 -0700)
commitde20cec9c94ae1c29830cbb288f19bdf5fd961df
tree1683de03b52445723cc09c6d3f2cbfd4d34dbf9b
parent42687d6ce4632cdb7ca428c16cad7c1b2db77263
big: fix nat.scan bug

Scanning "0" with detected base did not actually set the nat to 0.

R=gri
CC=golang-dev
https://golang.org/cl/4923050
src/pkg/big/int_test.go
src/pkg/big/nat.go