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

Perform QuantityPoint subtraction in target rep #223

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

chiphogg
Copy link
Contributor

@chiphogg chiphogg commented Mar 7, 2024

If we don't do this, then converting from unsigned to signed of the same
size will perform the subtraction in the unsigned type.

Included a unit test that failed before the change, but passes with it.

Fixes #222.

If we don't do this, then converting from unsigned to signed of the same
size will perform the subtraction in the unsigned type.

Included a unit test that failed before the change, but passes with it.
@chiphogg chiphogg added the release notes: 🐛 lib (bugfix) PR fixing a defect in the library code label Mar 7, 2024
@chiphogg chiphogg requested a review from geoffviola March 7, 2024 13:35
@chiphogg
Copy link
Contributor Author

chiphogg commented Mar 7, 2024

FYI @geoffviola, the builds are failing due to #224. I'm looking into how to get them to passing.

Copy link
Contributor

@geoffviola geoffviola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation and test look good.

@chiphogg chiphogg merged commit 492e5bd into main Mar 7, 2024
10 checks passed
@chiphogg chiphogg deleted the chiphogg/signed-destination#222 branch March 7, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: 🐛 lib (bugfix) PR fixing a defect in the library code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect conversion result from Kelvins to Celsius
2 participants