https://github.com/formulae-org/package-bitwise-js
Bitwise package for Fōrmulæ, in JavaScript
https://github.com/formulae-org/package-bitwise-js
bit-count bit-length bitwise bitwise-and bitwise-not bitwise-or bitwise-shifting bitwise-xor clear-bit flip-bit formulae get-bit javascript set-bit test-bit
Last synced: 6 months ago
JSON representation
Bitwise package for Fōrmulæ, in JavaScript
- Host: GitHub
- URL: https://github.com/formulae-org/package-bitwise-js
- Owner: formulae-org
- License: agpl-3.0
- Created: 2023-04-17T01:03:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T04:48:58.000Z (8 months ago)
- Last Synced: 2025-02-24T05:30:39.634Z (8 months ago)
- Topics: bit-count, bit-length, bitwise, bitwise-and, bitwise-not, bitwise-or, bitwise-shifting, bitwise-xor, clear-bit, flip-bit, formulae, get-bit, javascript, set-bit, test-bit
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# package-bitwise-js
Bitwise package for the [Fōrmulæ](https://formulae.org) programming language.
Fōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.
This repository contains the source code for the **bitwise package**. It contains visualization and reduction for bitwise operations.
The GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).
### Capabilities ###
* Bit length of a number
* Bit count of a number
* Bitwise AND
* Bitwise OR
* Bitwise NOT
* Bitwise XOR
* Bitwise left shift
* Bitwise right shift
* Set a single bit
* Get a single bit
* Clear a single bit
* Flip a single bit
* Test a single bit