NSC icon indicating copy to clipboard operation
NSC copied to clipboard

Add 2's complement negative support

Open MrHate opened this issue 5 years ago • 2 comments

#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.

MrHate avatar Oct 06 '20 16:10 MrHate

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

obstschale avatar Oct 13 '20 07:10 obstschale

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

MrHate avatar Oct 13 '20 08:10 MrHate