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

Add constants to Angle representing half and full turns #191

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Add constants to Angle representing half and full turns #191

merged 1 commit into from
Jun 16, 2020

Conversation

adamreichold
Copy link
Contributor

Various trigonometric computations require Angle constants of these values but as construction via Angle::new is not possible in constants, this uses fixed storage types and base units to directly construct Quantity literals to wrap the standard libraries constants for π.

Various trigonometric computations require Angle constants of these values
but as construction via Angle::new is not possible in constants, this uses
fixed storage types and base units to directly construct Quantity literals
to wrap the standard libraries constants for π.
@iliekturtles
Copy link
Owner

Thanks for the PR! I meant to review today but got tied up. Will get done tomorrow morning. There was, possibly spurious, build failure so I restarted Travis.

@iliekturtles iliekturtles merged commit 0bc0b92 into iliekturtles:master Jun 16, 2020
@iliekturtles
Copy link
Owner

Looks like the build failure is something introduced in Beta 1.45/Nightly and is unrelated to this PR so I have merged! I'm still investigating the failure and will report it upstream. Thanks again for the PR!

@adamreichold adamreichold deleted the turns-as-angle-constants branch June 16, 2020 17:32
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.

2 participants