An open API service indexing awesome lists of open source software.

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

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