Commit 92b2643c authored by Russ Cox's avatar Russ Cox

math/big: fix typo

Fixes #4678.

TBR=gri
CC=golang-dev
https://golang.org/cl/7135059
parent bb192d13
...@@ -526,7 +526,7 @@ func (x *Int) Int64() int64 { ...@@ -526,7 +526,7 @@ func (x *Int) Int64() int64 {
return v return v
} }
// Uint64 returns the int64 representation of x. // Uint64 returns the uint64 representation of x.
// If x cannot be represented in an uint64, the result is undefined. // If x cannot be represented in an uint64, the result is undefined.
func (x *Int) Uint64() uint64 { func (x *Int) Uint64() uint64 {
if len(x.abs) == 0 { if len(x.abs) == 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment