Open SekoiaTree opened 10 months ago
I was wondering if there was a way to view a bit field in the same way the GNOME calculator can
qalculate-gtk will actually show position numbers for binary output, but only when forced the use a horizontal scrollbar for the result (which is a questionable design choice). It might be feasible to modify this behaviour to always show binary position numbers and allow bit flipping.
Tangentially related, is there a way to convert the output of the previous calculation as another base without opening a new window? In the GNOME calculator I often do "number -> enter -> hexadecimal" to convert a number to hexadecimal, without leaving the main UI.
In the programming keypad (which will always show all four common bases for integer results), you can right-click a number base button to only change the output base.
In the general keypad the number base menu (top-right), or the menu of the "x ➞" button (will only change the current result), can be used. It also possible to add custom buttons which change the number base of only the current result (removing the restore the previous base).
Alternatively you can use the context menu of the result or the Mode➞Number Base menu.
Awesome, thanks
Note that qalculate-qt shows binary position and now supports bit flipping (implemented a few minutes ago).
Hi,
I was wondering if there was a way to view a bit field in the same way the GNOME calculator can:
I find it quite convenient to view the binary of a number or to flip specific bits, though it does take quite a lot of space.
Tangentially related, is there a way to convert the output of the previous calculation as another base without opening a new window? In the GNOME calculator I often do "number -> enter -> hexadecimal" to convert a number to hexadecimal, without leaving the main UI.
Edit: found an answer to the above, just need to do
to bin
orto hex
and such, which is straightforward enough (though I'd still prefer just pressing the button, this is good enough).