Skip to content

Commit

Permalink
Merge pull request kdn251#7 from Triang3l/patch-1
Browse files Browse the repository at this point in the history
Fix bit flip
  • Loading branch information
kdn251 authored Mar 12, 2017
2 parents 74b9995 + 335c333 commit 2f613ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ or equal to those of the children and the lowest key is in the root node
* Test kth bit: `s & (1 << k)`
* Set kth bit: `s |= (1 << k)`
* Turn off kth bit: `s &= ~(1 << k)`
* Toggle kth bit: `s ^= ~(1 << k)`
* Toggle kth bit: `s ^= (1 << k)`
* Multiple by 2<sup>n</sup>: `s << n`
* Divide by 2<sup>n</sup>: `s >> n`
* Intersection: `s & t`
Expand Down

0 comments on commit 2f613ab

Please sign in to comment.