Bitwise package for the Fōrmulæ 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 encompasses the source code for the rest of packages, as well as the web application.
- 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