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/temperaturedifference edgecase, add description and Unit.isDefinedAsOtherUnit() #96

Merged
merged 4 commits into from
Mar 17, 2024

Conversation

fkleedorfer
Copy link
Contributor

Fixes the edgecase when converting between °C, °F and °K for quantityKind qk:TemperatureDifference. In these conversions, the offset must be ignored.

Adds a description field to Unit, QuantityKind and PhysicalConstant

Adds Unit.isDefinedAsOtherUnit() so that we can differentiate between, e.g. unit:L and unit:DeciM3

@fkleedorfer fkleedorfer merged commit 58a1767 into main Mar 17, 2024
1 check passed
@fkleedorfer fkleedorfer deleted the fix/temperaturedifference-edgecase branch March 17, 2024 13:06
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