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

Fix for negative immediate values #61

Merged
merged 1 commit into from Aug 14, 2022
Merged

Fix for negative immediate values #61

merged 1 commit into from Aug 14, 2022

Conversation

craigthomas
Copy link
Owner

This PR closes issue #60 . Specifically, it fixes an issue whereby negative numbers were translated into their absolute value, resulting in positive value outputs instead of negative ones. Unit tests added to cover condition.

@codecov
Copy link

codecov bot commented Aug 14, 2022

Codecov Report

Merging #61 (0ca0f4f) into main (276bf1b) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   82.58%   82.69%   +0.10%     
==========================================
  Files          11       11              
  Lines        1545     1549       +4     
==========================================
+ Hits         1276     1281       +5     
+ Misses        269      268       -1     
Impacted Files Coverage Δ
cocoasm/values.py 94.31% <100.00%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 276bf1b...0ca0f4f. Read the comment docs.

@craigthomas craigthomas merged commit a631963 into main Aug 14, 2022
@craigthomas craigthomas deleted the negative-imm-fix branch August 21, 2022 14:36
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.

None yet

1 participant