3 Commits

Author SHA1 Message Date
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