aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math/big/arith.go1
-rw-r--r--src/math/big/arith_test.go1
2 files changed, 1 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 {
diff --git a/src/math/big/arith_test.go b/src/math/big/arith_test.go
index cd92dd7173..f46a494f17 100644
--- a/src/math/big/arith_test.go
+++ b/src/math/big/arith_test.go
@@ -155,6 +155,7 @@ var sumVW = []argVW{
{nat{1}, nat{1}, 0, 0},
{nat{0}, nat{_M}, 1, 1},
{nat{0, 0, 0, 0}, nat{_M, _M, _M, _M}, 1, 1},
+ {nat{585}, nat{314}, 271, 0},
}
var prodVW = []argVW{