]> Cypherpunks.ru repositories - gostls13.git/commit
math/big: move division into natdiv.go
authorRuss Cox <rsc@golang.org>
Thu, 13 May 2021 03:04:25 +0000 (23:04 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 26 May 2021 13:25:43 +0000 (13:25 +0000)
commite4615ad74d5becdd1fcee4879775a6d4118583c5
tree23a49e4154de26ce102d4223c871d4defd535a0f
parentd050238bb653711b47335583c5425c9efec30e4e
math/big: move division into natdiv.go

Code moved and functions reordered to be in a consistent
top-down dependency order, but otherwise unchanged.

First step toward commenting division algorithms.

Change-Id: Ib5e604fb5b2867edff3a228ba4e57b5cb32c4137
Reviewed-on: https://go-review.googlesource.com/c/go/+/321077
Trust: Russ Cox <rsc@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/math/big/arith.go
src/math/big/nat.go
src/math/big/natdiv.go [new file with mode: 0644]