]> Cypherpunks repositories - gostls13.git/commit
math/big: implement Int.TrailingZeroBits
authorBrian Kessler <brian.m.kessler@gmail.com>
Fri, 1 Feb 2019 05:24:00 +0000 (22:24 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 12 Mar 2019 13:18:27 +0000 (13:18 +0000)
commitef891e1c8336243023abb1638a3225405d0e5d44
treeeb7f84d9a25389e9a40cd1438f06324119622601
parent14a58d65e387481a326193840bce5787096a150e
math/big: implement Int.TrailingZeroBits

Implemented via the underlying nat.trailingZeroBits.

Fixes #29578

Change-Id: If9876c5a74b107cbabceb7547bef4e44501f6745
Reviewed-on: https://go-review.googlesource.com/c/go/+/160681
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/big/int.go
src/math/big/int_test.go