1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:07:58 -07:00

math/big: add clarifying (internal) comment

Follow-up on CL 467555.

Change-Id: I1815b5def656ae4b86c31385ad0737f0465fa2d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/613535
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Tim King <taking@google.com>
This commit is contained in:
Robert Griesemer 2024-09-16 10:41:28 -07:00 committed by Gopher Robot
parent a02516a379
commit aa06c94054

View File

@ -643,6 +643,7 @@ func (q nat) divBasic(u, v nat) {
rec := reciprocalWord(vn1)
// Invent a leading 0 for u, for the first iteration.
// Invariant: ujn == u[j+n] in each iteration.
ujn := Word(0)
// Compute each digit of quotient.