Skip to content

formulae-org/package-bitwise-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-bitwise-js

Bitwise package for Fōrmulæ — the visual environment for computing, composing, and conversing with tree-structured expressions.

This repository contains the source code for the bitwise package. It contains visualization and reduction for bitwise operations.

Part of the formulae-org organization: the web application plus one repository per package.

Showcase — worked examples of this package.

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