fizzyizzy05 / binary

Small and simple app to convert numbers to a different base.
https://apps.gnome.org/Binary
GNU General Public License v3.0
15 stars 9 forks source link

Feature: Only show active bits #16

Closed eyekay-gh closed 2 months ago

eyekay-gh commented 2 months ago

Hi, I think the 'bits' dropdown when a binary number is entered should only show which bits are active. For example, for 10110, it would show 16, 4, 2.

I think this is more useful than showing all the bits in the number, because once you know the most significant bit's value, the rest are just the lesser powers of two. If it only shows the active bits, I can figure out the decimal of the number quickly even if I am actually converting it to some other base.

fizzyizzy05 commented 2 months ago

the bit counter should look something like this now image