]> Cypherpunks.ru repositories - gostls13.git/commit
math/big, math/rand: use the built-in max function
authorchanxuehong <chanxuehong@gmail.com>
Thu, 17 Aug 2023 01:58:22 +0000 (01:58 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 17 Aug 2023 16:42:19 +0000 (16:42 +0000)
commitaaa384cf3a510a1f1945010e2c0e2ba8d0282f91
treeb8c58c261a9a2b247e154b74be9c937c8ff486c7
parent36fc721419f0fd9e2088f67b3bc43e8869f4a4c8
math/big, math/rand: use the built-in max function

Change-Id: I71a38dd20bfaf2b1aed18892d54eeb017d3d7d66
GitHub-Last-Rev: 8da43b2cbd563ed123690709e519c9f84272b332
GitHub-Pull-Request: golang/go#61955
Reviewed-on: https://go-review.googlesource.com/c/go/+/518595
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
src/math/big/nat.go
src/math/rand/rand_test.go