Skip to content

A simple binary calculator for fixed-width unsigned, signed, and floating point encodings with C-like syntax

Notifications You must be signed in to change notification settings

campkeith/bincalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bincalc

A simple binary calculator for fixed-width unsigned, signed, and floating point encodings with C-like syntax. Features:

  • 8,16,32,64 bit signed/unsigned and 32,64 bit floating point modes
  • Verbose mode showing computation steps
  • Hexadecimal input and output to observe encoding
  • Unary operators: ~ -
  • Binary operators: * / % + - << >> & ^ |
  • Parenthesis () and C operator precedence

About

A simple binary calculator for fixed-width unsigned, signed, and floating point encodings with C-like syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages