diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2015-04-21 15:43:44 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2015-04-21 23:13:33 +0000 |
| commit | 91f2db3c574887c47da795b06d9f8564d558f85a (patch) | |
| tree | f3bbb15a7efdfbf8b4fb53684ce4126353a83795 /src/math/big/arith.go | |
| parent | e589e08014d8f508e93a6c0061e9fa50248cbe78 (diff) | |
| download | go-91f2db3c574887c47da795b06d9f8564d558f85a.tar.xz | |
math/big: test that subVW and addVW work with arbitrary y
Fixes #10525.
Change-Id: I92dc87f5d6db396d8dde2220fc37b7093b772d81
Reviewed-on: https://go-review.googlesource.com/9210
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/math/big/arith.go')
| -rw-r--r-- | src/math/big/arith.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/math/big/arith.go b/src/math/big/arith.go index 328c85c4f7..1ff6349d9d 100644 --- a/src/math/big/arith.go +++ b/src/math/big/arith.go @@ -196,7 +196,6 @@ func subVV_g(z, x, y []Word) (c Word) { return } -// Argument y must be either 0 or 1. // The resulting carry c is either 0 or 1. func addVW_g(z, x []Word, y Word) (c Word) { if use_addWW_g { |
