Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a user command/option for grouped display of binary digits #216

Open
krishnakumarg1984 opened this issue Jun 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@krishnakumarg1984
Copy link

krishnakumarg1984 commented Jun 4, 2023

Most of my work day I live in the terminal, and avoid reaching out to graphical programs wherever possible, and fend is helping me in this by providing all sort of useful conversions in addition to mathematical calculations. So, a big thank you for that.

As programmers who have to deal with bit shift patterns etc it might be helpful to display binary converted decimals as groups of 4 bits.

e.g.

> 65372 as binary
1111111101011100

The larger the (decimal) number, the more unreadable the long string of bits become. The result can be made more visually helpful for calculating bit mask hex patterns etc if the bits were spaced out & grouped as following:

1111 1111 0101 1100

Perhaps you could retain the current behaviour (for backward compatibility) and provide a new command, something like grouped binary or something like that?

@printfn
Copy link
Owner

printfn commented Jun 5, 2023

Yeah, this would be a good feature to have. Thanks!

@printfn printfn added the enhancement New feature or request label Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants