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

Units: Add UnitInformationStorage #3059

Merged

Conversation

corymosiman12
Copy link

Summary

Adds support for UnitInformationStorage, which seems to be the only Unit to not be implemented per: https://gist.github.com/ianpartridge/9e010553594b9bbf45fa8628af7fb562

Additional Information

The docs on the developer page also need to be corrected. The usage of e should really be an exponent (unless lowercase e is intended to mean exponent, but that's not very clear). For example:

Decimal Bits Coefficient Binary Bits Coefficient
...
megabits 1000e2 mebibits 1024e2

should be corrected to

Decimal Bits Coefficient Binary Bits Coefficient
kilobits 1000 kibibits 1024
megabits 1000^2 mebibits 1024^2

@BradLarson
Copy link

@swift-ci Please test.

@BradLarson
Copy link

@swift-ci Please test Linux platform.

1 similar comment
@BradLarson
Copy link

@swift-ci Please test Linux platform.

@millenomi
Copy link
Contributor

LGTM, but ping me once it's out of draft so I can merge it.

@corymosiman12 corymosiman12 marked this pull request as ready for review August 25, 2021 19:40
@corymosiman12
Copy link
Author

@millenomi out of draft!

@millenomi millenomi merged commit b65b4c7 into swiftlang:main Aug 25, 2021
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

3 participants