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

Add 2's complement negative support #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MrHate
Copy link

@MrHate MrHate commented Oct 6, 2020

#10

This commit might not be well enough considered or complete.

  • I added a function decimal2negative to convert a decimal larger than 1 into a negative decimal under the 2's complement principle with the zeros before the most significant bit trimmed.
  • I displayed the result within the forth row when the given argument evaluated larger than decimal 1 for all convert scripts except for the "number convert".
  • I reused the decimal icon.
  • Also not well tested for extreme values.

@obstschale
Copy link
Owner

Just a quick note. I did not forget about your PR, but work is currently keeping me busy. Thanks for your patience

@MrHate
Copy link
Author

MrHate commented Oct 13, 2020

It's ok, thanks for this quick note :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants