diff options
author | awr1 <41453959+awr1@users.noreply.github.com> | 2020-05-06 05:21:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 12:21:49 +0200 |
commit | b8e6ea7547344389b5e45c3af249fee9642f028e (patch) | |
tree | 84c2951fdacb5ca92797a9c93b4715b1841b509d /tests/cpp/foo.c | |
parent | 48e7775ad14bc33f5b60225157fb0725d0384675 (diff) | |
download | Nim-b8e6ea7547344389b5e45c3af249fee9642f028e.tar.gz |
Added bitslice operations for bitops (#14016)
* added bit operations based on bit slices, clarified documentation, made non-mutating versions of mask ops * Added since annotations, some runnable examples * Added mask()/masked() functions, changed internal workings of mask ops to use new bit* funcs * Changelog updated for new bitops improvements * Reorganization, added runnable examples * Documentation adjustments * Add incltrl for since annotation * Fix masked() impl * Fix mask() return type * Don't call toUnsigned on already unsigned types * Remove improper `var T` for flipMasked() * Fix return types for flipMasked() * Slight syntactic cleanup for *masked ops * Added tests for bitslice operations, new mask() operation, non-mutating mask ops * Fix setmasked() var T issue * More comprehensive tests * Fix runnable example for bitsliced() * Fix runnable example for mask()
Diffstat (limited to 'tests/cpp/foo.c')
0 files changed, 0 insertions, 0 deletions