BorysLevytskyi / BitwiseCmd

Bitwise Calculator Online
http://bitwisecmd.com
GNU Affero General Public License v3.0
310 stars 14 forks source link

Add basic math operators #56

Open ah-OOG-ah opened 7 months ago

ah-OOG-ah commented 7 months ago

Addition and subtraction are fairly common operations with bitmasks, it would be nice to have them.

adworacz commented 4 months ago

+1 I just encountered this when I tried to type 1 + 2 and was surprised to get an error back.

I've seen certain code use this approach when utilizing SWAR techniques, so being able to visually see the effects of certain math operations would be super helpful.