]> Cypherpunks repositories - gostls13.git/commit
math/big: simplify GCD docs
authorFilippo Valsorda <filippo@golang.org>
Fri, 31 Jan 2020 22:49:11 +0000 (14:49 -0800)
committerFilippo Valsorda <filippo@golang.org>
Fri, 31 Jan 2020 23:32:37 +0000 (23:32 +0000)
commitcdb7fd6b06937aa38a7a4921f567697144448073
tree2ebb0d391cf71f3a3440e6a0ee57fe09ff6ffd09
parent53558cb721ec7a2a6f87ff87a4095e956c587e3d
math/big: simplify GCD docs

We don't usually document past behavior (like "As of Go 1.14 ...") and
in isolation the current docs made it sound like a and b could only be
negative or zero.

Change-Id: I0d3c2b8579a9c01159ce528a3128b1478e99042a
Reviewed-on: https://go-review.googlesource.com/c/go/+/217302
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/math/big/int.go