3 ms·
One feature that I'd love in a programming calculator is the ability to set arbitrary bit widths. 32bit or 64 bit is okay, but a lot of the time when I'm thinki
by MatthiasPortzel 4y ago
One feature that I'd love in a programming calculator is the ability to set arbitrary bit widths. 32bit or 64 bit is okay, but a lot of the time when I'm thinking about individual bits; it's because I'm doing embedded programming for 8 or 16 bit devices. Similarly, the ability to toggle signed and unsigned representations.
- fellerts 4y agoI totally agree, which is why I included that in procal! Just right-click a cell to turn it into a sign bit.
- SimDeBeau 4y agoThats really convenient, but probably not the most discoverable.
- fellerts 4y agoFair point. At least it's mentioned in the README. My goal was a lean and efficient tool without any extra fluff, so discoverability took a hit.
- MatthiasPortzel 4y agoI did not notice that. I will have to download procal and give it a try.
- recklesstodd 4y agoHave a look at this: https://www.heise.de/download/product/bitfummler-70589?hg=1&hgi=1&hgf=false https://www.heise.de/download/product/bitfummler-70589?hg=1&...
- spc476 4y agoI once wrote a calculator that has five output displays: signed decimal, unsigned decimal, hexadecimal, octal and binary. I did it that way because I was tired of having to select the output mode. I also added the ability to select 8, 16, 32 or 64 bit output.
- SAI_Peregrinus 4y agoI've been using BitCalculator for Android[1] for that. It supports 8, 16, 32, and 64-bit integers, big or little endian byte ordering, signed or unsigned, as well as 32 and 64-bit floats with either endianness. [1] https://play.google.com/store/apps/details?id=com.kebstudios.calc https://play.google.com/store/apps/details?id=com.kebstudios...