开发者

Bit manipulations/operations calculator?

开发者 https://www.devze.com 2023-01-19 04:12 出处:网络
I am getting into bit manipulation in C/C++. Is there a good calculator or program (executable or online), that makes it relatively convenient to study & test bit procedures?

I am getting into bit manipulation in C/C++.

Is there a good calculator or program (executable or online), that makes it relatively convenient to study & test bit procedures?

I can do same work in开发者_开发百科 Visual Studio or Eclipse, but relatively small program is easier and more convenient.


I use bincalc by Ding Zhaojie. It conveniently lets you see what's going on in hex and binary (and decimal if you care), and has a nice gadget for inputting binary or flipping bits.

  • http://sites.google.com/site/bincalc/

Free, but no source.


The calculator, calc, in Windows 7 has a 'Programmer' view (Alt + 3). It has most of the operations for bit manipulations.


bitwisecmd.com Supports conversion from decimal to binary and hehadecimal numbers as well as basic bitwise operations as AND, OR, XOR, NOT, left shift, right shift. Neatly arranges bits in binary numbers so you can see how this stuff works.


I use a good online tool that supports all the bitwise operations, so you don't need to install anything: http://www.convertforfree.com/bitwise-calculator/

This tool saved me a lot of time and effort.


Use this tool. It has a free online truth table generator as well as a calculator for bitwise operations.

0

精彩评论

暂无评论...
验证码 换一张
取 消