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

Unable to fill last 4 bits in 64bit mode with decimal, hex or octal fields #27

Closed
kavu opened this issue Jul 21, 2019 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@kavu
Copy link
Contributor

kavu commented Jul 21, 2019

Hi!

As issue title says — I am unable to fill all bits, when I am filling in decimal, hex or octal fields.

The case:

  1. I enter hex ffff ffff ffff fff, only 15 symbols (whitespaces are for readability);
  2. Bits are 0 0 0 0 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1 | 1 1 1 1 1 1 1 1, decimal is 1152921504606846975, octal - 77777777777777777777;
  3. I enter 16th f to fill bits 60-63, but nothing happens. If I want to delete this last 16th f I will delete both 16th and 15th.
  4. When I go to the bits field and set all 60-63 bits manually I get decimal to 18446744073709551615, hex to ffff ffff ffff ffff, octal 1777777777777777777777, all bits are set. And now all values have their expected values.

Is it a bug or expected behaviour?

@mellowcandle
Copy link
Owner

Which version are you using ?
Where did you insert the hex value, in interactive mode ?

@kavu
Copy link
Contributor Author

kavu commented Jul 21, 2019

Both master and 0.32 (my own Homebrew formula).

Of course I enter F's in hex field. I recorded a asciicast for you. It differs from what I described above (damn!), but still behaves a little buggy for me: https://asciinema.org/a/hFSqHLh0EPfNTS7MYuGFjz0qM

@mellowcandle
Copy link
Owner

Thanks, I managed to recreate. I'll handle.
Thanks for reporting.

@mellowcandle mellowcandle self-assigned this Jul 21, 2019
@mellowcandle mellowcandle added the bug Something isn't working label Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants