diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-03-06 16:19:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-03-06 16:19:05 +0000 |
commit | c271e224c2e6bcda1068754def0b0cfd6a2b2958 (patch) | |
tree | 122e64d46042099f2d5b39e31532f3d0358b5ad3 /libgo/go/math/big/int.go | |
parent | 81b0d9065c3c832af6621e79e9d9b3c2bc684122 (diff) | |
download | gcc-c271e224c2e6bcda1068754def0b0cfd6a2b2958.tar.gz |
libgo: Upgrade to Go 1.4.2 release.
From-SVN: r221245
Diffstat (limited to 'libgo/go/math/big/int.go')
-rw-r--r-- | libgo/go/math/big/int.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/big/int.go b/libgo/go/math/big/int.go index d22e39e7c94..ade5c2fc8cd 100644 --- a/libgo/go/math/big/int.go +++ b/libgo/go/math/big/int.go @@ -887,7 +887,7 @@ func (z *Int) AndNot(x, y *Int) *Int { } // x &^ (-y) == x &^ ^(y-1) == x & (y-1) - y1 := nat(nil).add(y.abs, natOne) + y1 := nat(nil).sub(y.abs, natOne) z.abs = z.abs.and(x.abs, y1) z.neg = false return z |