aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorhearot <gabriel@hearot.it>2018-10-28 10:01:39 +0100
committerRobert Griesemer <gri@golang.org>2018-10-28 16:58:20 +0000
commitf28191340eb7f9e2d32d792df1a279d6e4437b3d (patch)
treedde3d96bfb3dd442a2bdb1f959ebae231da41ca2 /src/encoding
parent3c9ad7cb41c9c8166d3322e5bc7554a25cda7523 (diff)
downloadgo-f28191340eb7f9e2d32d792df1a279d6e4437b3d.tar.xz
math/big: fix a formula used as documentation
The function documentation was wrong, it was using a wrong parameter. This change replaces it with the right parameter. The wrong formula was: q = (u1<<_W + u0 - r)/y The function has got a parameter "v" (of type Word), not a parameter "y". So, the right formula is: q = (u1<<_W + u0 - r)/v Fixes #28444 Change-Id: I82e57ba014735a9fdb6262874ddf498754d30d33 Reviewed-on: https://go-review.googlesource.com/c/145280 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions