]> Cypherpunks repositories - gostls13.git/commit
math/big: add more complete tests and benchmarks of assembly
authorRuss Cox <rsc@golang.org>
Sun, 30 Mar 2025 20:56:29 +0000 (16:56 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 18 Apr 2025 21:14:06 +0000 (14:14 -0700)
commitb44b360dd40a537e953225d70ca96361e2c57600
treec850aa864cd356897399e326630a98c2ddb85575
parent930cf59ba8091bfd56c71357085bc7de74daf421
math/big: add more complete tests and benchmarks of assembly

Also fix a few real but currently harmless bugs from CL 664895.
There were a few places that were still wrong if z != x or if a != 0.

Change-Id: Id8971e2505523bc4708780c82bf998a546f4f081
Reviewed-on: https://go-review.googlesource.com/c/go/+/664897
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/arith_amd64.s
src/math/big/arith_s390x_test.go
src/math/big/arith_test.go
src/math/big/nat_test.go