Jacek Sieka
|
7d2790fdf4
|
fix `countZeros` (#80)
should return zeros based on bits, not bytes!
|
2021-04-12 22:55:09 +02:00 |
jangko
|
999d3ca7ce
|
fixes bitops2: 'countOnesBuiltin' and 'parityBuiltin' when feeded 'unsigned' on 32 bit platform
|
2020-09-30 18:28:36 +07:00 |
Zahary Karadjov
|
b9e847a143
|
Add bitops2.getBitsBE
|
2020-06-01 19:49:46 +03:00 |
Jacek Sieka
|
a36df61d2b
|
set, clear, toggle and change bits
* use standard bit manipulation naming
* fix signed overflow on large shifts
* add toggle
* add smoke tests
* branch-free changeBit
|
2019-12-20 12:49:20 +01:00 |
andri lim
|
53c1ebe9d4
|
fixes 'nimFirstOne' for Nim v1.0.2
|
2019-10-23 09:36:16 +09:00 |
Jacek Sieka
|
7a87693eaf
|
refactor bitops2, add endians2
|
2019-07-06 20:47:08 +02:00 |