extra-bit 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,18 +45,18 @@ bit.signExtend(15, 4);
45
45
 
46
46
  | Property | Description |
47
47
  | ---- | ---- |
48
- | [get] | Get a bit. |
48
+ | [get] | Get bits at specified index. |
49
49
  | [getAs] | Get bits as per mask. |
50
- | [set] | Set a bit. |
50
+ | [set] | Set bits at specified index. |
51
51
  | [setAs] | Set bits as per mask. |
52
- | [toggle] | Toggle a bit. |
52
+ | [toggle] | Toggle bits at specified index. |
53
53
  | [toggleAs] | Toggle bits as per mask. |
54
- | [swap] | Swap bit sequences. |
54
+ | [swap] | Swap bit sequences at specified indices. |
55
55
  | [scan] | Find index of first set bit from LSB. |
56
56
  | [scanReverse] | Find index of first set bit from MSB. |
57
57
  | [count] | Count bits set. |
58
- | [parity] | Find n-bit parity. |
59
- | [rotate] | Rotate bits. |
58
+ | [parity] | Calculate n-bit parity. |
59
+ | [rotate] | Rotate bits by a certain amount. |
60
60
  | [reverse] | Reverse all bits. |
61
61
  | [merge] | Merge bits as per mask. |
62
62
  | [interleave] | Interleave bits of two int16s. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "extra-bit",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "The bit is a basic unit of information in information theory, computing.",
5
5
  "sideEffects": false,
6
6
  "main": "index.js",