summaryrefslogtreecommitdiff
path: root/src/pkg/bignum/rational.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-12 13:19:17 -0700
committerRuss Cox <rsc@golang.org>2009-08-12 13:19:17 -0700
commit2ee4549f599ed214693abf75163176f178b4188c (patch)
treec9dbc55a8447806706f8ae757a04c3c41b815835 /src/pkg/bignum/rational.go
parent5ff5b6823c8a023da5c9d6ccc2effe7fad8447f6 (diff)
downloadgolang-2ee4549f599ed214693abf75163176f178b4188c.tar.gz
convert non-low-level non-google pkg code
to whole-package compilation. R=r OCL=33070 CL=33101
Diffstat (limited to 'src/pkg/bignum/rational.go')
-rw-r--r--src/pkg/bignum/rational.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/bignum/rational.go b/src/pkg/bignum/rational.go
index 92b5d8883..baa9b4110 100644
--- a/src/pkg/bignum/rational.go
+++ b/src/pkg/bignum/rational.go
@@ -6,7 +6,6 @@
package bignum
-import "bignum"
import "fmt"
@@ -179,7 +178,7 @@ func (x *Rational) Format(h fmt.State, c int) {
// of the numerator is returned. If the mantissa contains a decimal point,
// the base for the fractional part is the same as for the part before the
// decimal point and the fractional part does not accept a base prefix.
-// The base for the exponent is always 10.
+// The base for the exponent is always 10.
//
func RatFromString(s string, base uint) (*Rational, uint, int) {
// read numerator