diff options
| author | Robert Griesemer <gri@golang.org> | 2017-02-16 15:04:33 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2017-02-24 19:19:02 +0000 |
| commit | 322fff8ac855390dc2a2876e9051a8dd526d2c6a (patch) | |
| tree | 895ee4ca4a2046f046dae1ea6086ba01d5deadb8 /src/os/exec | |
| parent | 7844ef427a61bd68db81912a254a3f99633a9354 (diff) | |
| download | go-322fff8ac855390dc2a2876e9051a8dd526d2c6a.tar.xz | |
math/big: use math/bits where appropriate
This change adds math/bits as a new dependency of math/big.
- use bits.LeadingZeroes instead of local implementation
(they are identical, so there's no performance loss here)
- leave other functionality local (ntz, bitLen) since there's
faster implementations in math/big at the moment
Change-Id: I1218aa8a1df0cc9783583b090a4bb5a8a145c4a2
Reviewed-on: https://go-review.googlesource.com/37141
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions
