julia
Add internal `top_set_bit` function
#47523
Merged

Add internal `top_set_bit` function #47523

oscardssmith merged 22 commits into master from add-used-bits
LilithHafner
add used_bits
0421194b
use used_bits
daaa0be8
document
3d67f766
add tests
429b9f04
laborg
LilithHafner
qualify name where needed (based on test failures)
122bb22d
oscardssmith
LilithHafner LilithHafner added triage
LilithHafner
ararslan
JeffBezanson
JeffBezanson
giordano
MasonProtter
oscardssmith
giordano
KristofferC
JeffBezanson JeffBezanson removed triage
LilithHafner LilithHafner changed the title Add unexported used_bits function Add internal ndigits2 function 3 years ago
undocument
22326950
rename to ndigits0z2
1ed803a3
update docstring
ce0e3c87
update fallback to reflect documentation
fe672b51
LilithHafner
LilithHafner LilithHafner changed the title Add internal ndigits2 function Add internal ndigits0z2 function 3 years ago
oscardssmith
LilithHafner
oscardssmith
giordano
giordano commented on 2022-11-11
move to intfuncs.jl
78a0873a
mcabbott
mcabbott commented on 2022-11-12
LilithHafner Fix error in docstring & remove generic fallback
55f0203f
LilithHafner
LilithHafner LilithHafner added triage
mcabbott Compute `ceil(Int, log2(n))` in `TwicePrecision` using `leading_zeros…
6dd54c41
LilithHafner Merge branch 'master' into add-used-bits
cfabe304
Replace, fix, & improve fallback; merge & fix tests
cdf006be
replace ceil_log2 with ndigits0z2
945a0f7f
move the ::BitInteger method to int.jl for boostrapping and move ::Bi…
5a12b565
LilithHafner
LilithHafner LilithHafner removed triage
LilithHafner Merge branch 'master' into add-used-bits
f90c1cd9
LilithHafner
LilithHafner commented on 2023-01-06
LilithHafner Update test/ranges.jl
8ea85581
rename to top_set_bit, update documentation, and restrict to ::Integer
ff899f8e
documentation fixups
cfd43f6d
LilithHafner LilithHafner changed the title Add internal ndigits0z2 function Add internal `top_set_bit` function 2 years ago
oscardssmith
oscardssmith approved these changes on 2023-01-06
LilithHafner LilithHafner added merge me
StefanKarpinski
StefanKarpinski approved these changes on 2023-01-06
vchuravy
vchuravy commented on 2023-01-06
LilithHafner
LilithHafner commented on 2023-01-06
giordano
LilithHafner Update base/int.jl
0e963fc9
LilithHafner Merge branch 'master' into add-used-bits
8193bce0
oscardssmith oscardssmith merged 708d1bdb into master 2 years ago
oscardssmith oscardssmith deleted the add-used-bits branch 2 years ago
LilithHafner LilithHafner removed merge me

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone