]> Cypherpunks repositories - gostls13.git/commit
- removed implementation restrictions for creation of small
authorRobert Griesemer <gri@golang.org>
Tue, 7 Jul 2009 17:03:42 +0000 (10:03 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 7 Jul 2009 17:03:42 +0000 (10:03 -0700)
commit8afeb52cace7236687b3a7a14753b30b02d1977e
tree90916f6fc6c5296f39c854a94bfed429f34c01aa
parent0417aafe755acc5eb0cac0a030de08216e44488b
- removed implementation restrictions for creation of small
  Natural, Integer, and Rational numbers
- added Value() methods to access small Natural and Integers
  as uint64 or int64 respectively, and to get the components
  of Rational numbers
- fixed a bug with Integer creation
- removed some _'s from names
- added more comments in places
- added test cases

R=rsc
DELTA=184  (127 added, 11 deleted, 46 changed)
OCL=31210
CL=31265
src/pkg/bignum/bignum.go
src/pkg/bignum/bignum_test.go