]> Cypherpunks repositories - gostls13.git/commit
big: implemented format support for fmt library, MulRange
authorRobert Griesemer <gri@golang.org>
Sat, 15 May 2010 17:23:41 +0000 (10:23 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 15 May 2010 17:23:41 +0000 (10:23 -0700)
commitdbb6232724d9602da9139481c2706862911e3f95
treee7fd25cb5654c6d092976cc997688652330f27bb
parentcffdb1e83025106c5ca66b6506951ba3f37382d3
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
src/pkg/big/int.go
src/pkg/big/int_test.go
src/pkg/big/nat.go
src/pkg/big/nat_test.go