summaryrefslogtreecommitdiff
path: root/libgo/go/math/big/int.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-02-26 11:15:50 -0800
committerIan Lance Taylor <iant@golang.org>2020-02-26 12:19:13 -0800
commitc5decc83e4eb06103c801fd4f8215301ce746109 (patch)
tree5443f7ec2e16fac152fe1af564d10b0d29ff1b95 /libgo/go/math/big/int.go
parent051b9873e78fe1acb1a3fecd0c6e5685b6c12fb3 (diff)
downloadgcc-c5decc83e4eb06103c801fd4f8215301ce746109.tar.gz
libgo: update to final Go1.14 release
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/221158
Diffstat (limited to 'libgo/go/math/big/int.go')
-rw-r--r--libgo/go/math/big/int.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/math/big/int.go b/libgo/go/math/big/int.go
index bec0a81b20b..18f122e953c 100644
--- a/libgo/go/math/big/int.go
+++ b/libgo/go/math/big/int.go
@@ -505,8 +505,8 @@ func (z *Int) Exp(x, y, m *Int) *Int {
// GCD sets z to the greatest common divisor of a and b and returns z.
// If x or y are not nil, GCD sets their value such that z = a*x + b*y.
//
-// a and b may be positive, zero or negative.
-// Regardless of the signs of a and b, z is always >= 0.
+// a and b may be positive, zero or negative. (Before Go 1.14 both had
+// to be > 0.) Regardless of the signs of a and b, z is always >= 0.
//
// If a == b == 0, GCD sets z = x = y = 0.
//