Link : https://ayidouble.github.io/Binary-Calculator-JavaScript
Mobile App : https://github.com/AYIDouble/Binary-Calculator-Android-Java-App
A handy Calculator for binary operations, that works on all devices. ๐ฑ ๐ป ๐ฅ
Feel free to use the Calculator for teaching Numeral systems as an example. If you have Suggestions or find Errors, you're free to contact me on GitHub or submit your changes. The Reason why I build this Calculator was, because there wasn't a good one on the Web. The next Project will be a ternary Calculator for ternary calculations with trytes and trits, this will be a perfect template to create such one.
The Binary Calculator is just a Website that each possible device can access to.
- Smartphone (Android/iOS etc.) ๐ฑ
- Tablet (Chrome, Firefox, Edge, Safari) ๐ฑ
- Laptop (Chrome, Firefox, Edge, Safari) ๐ป
- Desktop (Chrome, Firefox, Edge, Safari) ๐ฅ
-
+ (Addition)
-
- (Subtraction)
-
* (Multiplication)
-
/ (Division)
-
! (NOT) ex. ! 10101010 = 01010101
-
<< (Bitwise Left Shift) ex. 1010 << 0101
-
>> (Bitwise Right Shift) ex. 1010 >> 0101
-
AND / NAND
-
OR / NOR
-
XOR / XNOR
The Calculator is designed to give responses on every action, this is noticeable as an example at the addition of two Bytes, while you're typing, an algorithm already calculates every number you type and displays the result.
- see how Hexadecimal Values are stored in Binary (ex. HTML Color Codes RGB(255, 255, 255) = RGB(8-Bit, 8-Bit, 8-Bit))
- how much 8, 16, 32 Bit can store, (ex. unsigned 8-Bit can store values from (00000000) 0 ... 255 (11111111))
- see how other numeral systems are working (ternary, quaternary, octal, hexadecimal)
- Implementing a switch that allows you to change between Unsigned and Signed (negative numbers possible, ex. unsigned 16-Bit Integer).
- Using BigNumber.js, this is needed to display 64-Bit, 128-Bit , 256-Bit, ... (JavaScript has no datatypes, var is being saved as a signed 32-Bit Integer +- 2โ147โ483โ647).
- More responsive elements and better support for mobile devices.
- Implementing a Ternary Calculator that is working with Trits and Trytes, this is very interesting for quantum mechanics (Quantum Computing). It's a good way of a concept that could be used to use the power of Qubits that can have multiple states. It's Done, Check it out here!
- More numeral systems.