Skip to content

Add bitwise AND, OR, and XOR operations - #6

Open
maxijb wants to merge 1 commit into
masterfrom
feat/bitwise-operations
Open

maxijb wants to merge 1 commit into
masterfrom
feat/bitwise-operations

Conversation

@maxijb

@maxijb maxijb commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add mutating and, or, and xor operations for equal-length BitSets.
  • Keep the ES5 distribution in sync.
  • Document the new methods and cover them with tests.

Testing

  • ./node_modules/.bin/jest spec/bitset.test.js --runInBand --config='{"transform":{}}'
  • Direct Node.js checks against lib/BitSet.js and lib/BitSetES5.js

Note

The repository has no main branch, so this PR targets its default branch, master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant