Skip to content

Fix sign of fractional units in Duration initializers from Double. #66582

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

Merged

Conversation

stephentyrone
Copy link
Contributor

When separating a double duration into integral and fractional parts, we got the sign wrong. This fixes that bug.

When separating a double duration into integral and fractional parts, we got the sign wrong. This fixes that bug.
@stephentyrone
Copy link
Contributor Author

@swift-ci smoke test

@stephentyrone stephentyrone merged commit 185820a into swiftlang:main Jun 13, 2023
@stephentyrone stephentyrone deleted the fractional-duration-from-double branch June 13, 2023 12:46
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.

1 participant